- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to send mail with attachments from HP-UX
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 12:02 AM
тАО03-10-2010 12:02 AM
How to send mail with attachments from HP-UX
I dont prefer mutt as it has lot of other dependencies to be installed which i dont want to install on my prodction System.
Please suggest.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 12:11 AM
тАО03-10-2010 12:11 AM
Re: How to send mail with attachments from HP-UX
Why not mailx !, with mailx you can send attachment from command line:
Example:
# uuencode File1 File1 | mailx -s "File1 Attached" youremail@domain.com
Also check this out:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1311778
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 02:57 AM
тАО03-10-2010 02:57 AM
Re: How to send mail with attachments from HP-UX
http://hpux.connect.org.uk/hppd/hpux/Networking/Mail/mutt-1.5.20/
The list of run-time dependencies includes development tools like bison and flex, which makes no sense as run-time dependencies: an email client should never be dynamically generating and compiling any C code at run-time.
It has been my experience that the dependency lists of the Porting Archive have sometimes been incorrect.
By running "ldd -v" on the main mutt binary (11.23 PA-RISC version), I see it depend only on packages libiconv (which depends on gettext), libidn and ncurses. The other non-script binaries (pgpewrap and pgpring) don't depend on anything else beyond that.
$ ldd -v mutt
find library=/usr/lib/libc.2; required by mutt
/usr/lib/libc.2 => /usr/lib/libc.2
find library=/usr/lib/libdld.2; required by /usr/lib/libc.2
/usr/lib/libdld.2 => /usr/lib/libdld.2
find library=/usr/lib/libc.2; required by implicit load
/usr/lib/libc.2 => /usr/lib/libc.2
find library=/usr/local/lib/libidn.sl; required by mutt
/usr/local/lib/libidn.sl => /usr/local/lib/libidn.sl
find library=/usr/lib/libc.2; required by /usr/local/lib/libidn.sl
/usr/lib/libc.2 => /usr/lib/libc.2
find library=/usr/local/lib/libiconv.sl; required by /usr/local/lib/libidn.sl
/usr/local/lib/libiconv.sl => /usr/local/lib/libiconv.sl
find library=/usr/lib/libc.2; required by /usr/local/lib/libiconv.sl
/usr/lib/libc.2 => /usr/lib/libc.2
find library=/usr/local/lib/libintl.sl; required by /usr/local/lib/libidn.sl
/usr/local/lib/libintl.sl => /usr/local/lib/libintl.sl
find library=/usr/local/lib/libiconv.sl; required by /usr/local/lib/libintl.sl
/usr/local/lib/libiconv.sl => /usr/local/lib/libiconv.sl
find library=/usr/local/lib/libintl.sl; required by mutt
/usr/local/lib/libintl.sl => /usr/local/lib/libintl.sl
find library=/usr/local/lib/libncurses.sl; required by mutt
/usr/local/lib/libncurses.sl => /usr/local/lib/libncurses.sl
No hard dependency on OpenSSL is evident: perhaps mutt invokes OpenSSL as a separate process. In that case, mutt should work if OpenSSL is not installed, but obviously any SSL functionality would not be available.
I don't see anything that would absolutely require expat, db, gdbm, m4 or perl at run-time either.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 04:19 AM
тАО03-10-2010 04:19 AM
Re: How to send mail with attachments from HP-UX
Folks have mentioned uuencode.
My option of preference can be found by following the breadcrumbs that Raj's post will lead you. It is the 'include' statement.
It's free, it's easy, it works well in scripts, your system can do it, and even Clay liked it.
Regards,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 05:59 AM
тАО03-10-2010 05:59 AM
Re: How to send mail with attachments from HP-UX
uuencode works. You can also script the mime encoding yourself depending on the file you're trying to send. There's another app on the porting center called mpack. I generated a lesson learned page on emailing attachments that goes over the details - avaailable at:
http://www.olearycomputers.com/ll/mail_attach.html
hope that helps.
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2010 07:25 AM
тАО03-10-2010 07:25 AM
Re: How to send mail with attachments from HP-UX
Did you try a Forum search for keywords like,
say:
e-mail attachment
?
You might find an old discussion or two that
way.