- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- send html mail from hpux to lotus notes
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
05-16-2006 01:21 AM
05-16-2006 01:21 AM
I have to send an email from an hpux box to an email address accessed with Lotus Notes Client.
I've tried to send the email with mailx but the email resulted unreadable.
This is the script:
mailx -s "report" userlotus@lotusclient.com < report.html
How I have to modify this script to send the mail readable?
Regards...
PSS
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2006 01:48 AM
05-16-2006 01:48 AM
Re: send html mail from hpux to lotus notes
Subject: My Subject
To: recipient@kbcafe.com
From: sender@kbcafe.com
MIME-Version: 1.0
Content-Type: text/html
charset="iso-8859-1"
This is the HTML body of the message.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2006 02:11 AM
05-16-2006 02:11 AM
Re: send html mail from hpux to lotus notes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2006 02:45 AM
05-16-2006 02:45 AM
Re: send html mail from hpux to lotus notes
Write a new file:
#!/usr/bin/ksh
echo "From: blah@blubb.bleh
Subject: report
Content-Type: text/html">message
cat report.html >>message
mailx userlotus@lotusclient.com < message
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2006 03:29 AM
05-16-2006 03:29 AM
SolutionJudging from your attempt, you want the HTML as the body of the letter, thus, the following would accomplish this.
echo "To: ${Some_list_of_Addresses}" > $MAIL_FILE
echo "Subject: Some_Title" >> $MAIL_FILE
echo "Content-Type: text/html" >> $MAIL_FILE
echo "" >> $MAIL_FILE
cat ${HTML_FILE} >> $MAIL_FILE
cat $MAIL_FILE | /usr/sbin/sendmail -t
Best of luck.
Regards,
dl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2006 03:48 AM
05-16-2006 03:48 AM