- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- attaching PDF's from HPUX
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
Forums
Discussions
Discussions
Discussions
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
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-26-2008 10:05 AM
03-26-2008 10:05 AM
attaching PDF's from HPUX
Mutt- Seems to work perfectly in linux. I can not get it properly installed in HPUX. The version I used is 1.5.17.
Elm- I can not get to work.
Sendmail- using uuencode will mail the attachment but it needs to be uudecoded.
Mailx- I was unable to get it to send a pdf doc successfully.
Please advise.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2008 10:17 AM
03-26-2008 10:17 AM
Re: attaching PDF's from HPUX
There a few old threads on this, you can try to search for Mailing Attachments MIME
But for a quick instruction:
Create a file, I'll call this one dummy.include-file, with the contents that look like this for pdf
[include application/adobe base64]
You can put as many files as you wish, each on a seperate line. Then just email them like this:
elm -s "test sending pdf files to Exchange" yourname@company.com < dummy.include-file
Hope you like it,
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2008 10:28 AM
03-26-2008 10:28 AM
Re: attaching PDF's from HPUX
uuencode myfile.pdf myfile.pdf|mailx -m -s "my files" user@domain.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2008 10:43 AM
03-26-2008 10:43 AM
Re: attaching PDF's from HPUX
Rita when I execute your elm command. It produces no attachment and in the body it only produces ->
Tim I never received the email from your syntax. I tried uuencode with different option and It sends the email with an attachment. However it will not open. It complains about needing to be decoded.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2008 10:52 AM
03-26-2008 10:52 AM
Re: attaching PDF's from HPUX
What version of sendmail do you have configured on your server? Are you able to mail from the HPUX server now?
Do you have your elm directories created? If not, then just run elm and respond 'y' to create them. Then try command agai.
Our boxes use sendmail and relay to our Exchange server and we use the old utility all the time. Just test it - pdf attachment there.
Let us know..
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2008 11:05 AM
03-26-2008 11:05 AM
Re: attaching PDF's from HPUX
It's only pdf's that causing the problem I can send text attachment just fine.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2008 11:27 AM
03-26-2008 11:27 AM
Re: attaching PDF's from HPUX
And you do you have permission to the file being sent? [You don't mention the account_id your using]
Thanks,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2008 11:31 AM
03-26-2008 11:31 AM
Re: attaching PDF's from HPUX
Thanks for the help. I think I found the answer using mpack. Here's the syntax thanks to a friend.
mpack -s "TEST2: using mpack" -c application/octet-stream $ATTACHMENT $MAILTO
Thanks again for all of the help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2008 11:37 AM
03-26-2008 11:37 AM
Re: attaching PDF's from HPUX
Rgrds,
Rita