- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: mailx, sendmail html
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
тАО02-25-2006 01:09 AM
тАО02-25-2006 01:09 AM
Re: mailx, sendmail html
# create mail
echo "To: $EMAIL_TO" > ${tmpmail}
echo "From: $EMAIL_FROM" >> ${tmpmail}
echo "Cc: ${EMAIL_CC} ${EMAIL_BCC}" >> ${tmpmail}
echo "Bcc: $EMAIL_BCC" >> ${tmpmail}
echo "Subject: $EMAIL_SUBJECT" >> ${tmpmail}
Anyone got an idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2006 09:28 PM
тАО02-25-2006 09:28 PM
Re: mailx, sendmail html
Create a file .mailrc in your $HOME directory and add the following variables (recognized by mailx) to it...
set charset=us-ascii
set encoding=8bit
...then mailx your html file in the body of the message.
hope it helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2006 07:20 PM
тАО02-26-2006 07:20 PM
Re: mailx, sendmail html
I'm using "sendmail -t" to send the emails.
echo "To: $EMAIL_TO" > ${tmpmail}
echo "From: $EMAIL_FROM" >> ${tmpmail}
echo "Cc: ${EMAIL_CC} >> ${tmpmail}
echo "Bcc: $EMAIL_BCC" >> ${tmpmail}
echo "Subject: $EMAIL_SUBJECT" >> ${tmpmail}
uuencode ${tmpbody} ${tmpbody} >> ${tmpmail}
cat ${tmpmail}| sendmail -t
Mail is received by the "To:" address, subject and body are OK. Only problem is that the "Cc:" (and "Bcc:") don't receive an email. I can't find the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2006 07:38 PM
тАО02-26-2006 07:38 PM
Re: mailx, sendmail html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2006 12:35 AM
тАО02-27-2006 12:35 AM
Re: mailx, sendmail html
- « Previous
-
- 1
- 2
- Next »