- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Mailx on HP-UX
Operating System - HP-UX
1752571
Members
5115
Online
108788
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО08-23-2004 05:45 AM
тАО08-23-2004 05:45 AM
Mailx on HP-UX
We are having a problem with mailx working on HP-UX when the mail message has an attachment. The example below is the code that works on TRU64. The message is successfully sent but the attachment content is all jumbled. The issue appears to be related to the uuencode command.
************************************
title="HTML Mail from PDprod01 For $(date +%b%d%Y)"
#uuencode $p2 $work_file | mailx -s "$title" john.doe@.com
uuencode $p2 $work_file | sendmail -s "$title" $UNIX_ONCALL_5
************************************
title="HTML Mail from PDprod01 For $(date +%b%d%Y)"
#uuencode $p2 $work_file | mailx -s "$title" john.doe@.com
uuencode $p2 $work_file | sendmail -s "$title" $UNIX_ONCALL_5
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2004 06:41 AM
тАО08-23-2004 06:41 AM
Re: Mailx on HP-UX
Let me go out on limb on this subject again....
mailx is a message and broadcasting 'utility'.
Can you send mail with this tool? - Yes, ..but..
And it is the ..but.. you are seeing. Sendmail , on the other hand is intended for internet mail. Elm uses Sendmail, so it is far more reliable (IMHO), for external mail.
My personal preference, because of it's diversity in sending attachments of ALL kinds is to utilize the [ include ]. There are other methods that can be used as well (third party vendors, etc. But I still like the flexibility of [ include ].
You can do a search for threads on this subject: MIME attachment
Here's one to get you started:
http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=198775
Hope this helps,
Rita
mailx is a message and broadcasting 'utility'.
Can you send mail with this tool? - Yes, ..but..
And it is the ..but.. you are seeing. Sendmail , on the other hand is intended for internet mail. Elm uses Sendmail, so it is far more reliable (IMHO), for external mail.
My personal preference, because of it's diversity in sending attachments of ALL kinds is to utilize the [ include ]. There are other methods that can be used as well (third party vendors, etc. But I still like the flexibility of [ include ].
You can do a search for threads on this subject: MIME attachment
Here's one to get you started:
http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=198775
Hope this helps,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2004 10:02 AM
тАО08-23-2004 10:02 AM
Re: Mailx on HP-UX
Rick -
I believe Rita hit it on the head with the -m option, In any regard, attached are multiple examples of using mailx.
Best regards,
dl
I believe Rita hit it on the head with the -m option, In any regard, attached are multiple examples of using mailx.
Best regards,
dl
"I'm not dumb. I just have a command of thoroughly useless information."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2004 11:26 PM
тАО08-23-2004 11:26 PM
Re: Mailx on HP-UX
Hi,
The attachment given previously has some very interesting things.
I always like using the one with ux2dos.
The attachment given previously has some very interesting things.
I always like using the one with ux2dos.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP