Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to send HTML code by using sendmail

Status
Not open for further replies.

tomchan

IS-IT--Management
Aug 13, 2000
1
HK
How to set the header to send HTML code message to Web-based e-mail server?<br><br>I set &quot;Content-Type: text/html; charset=us-ascii&quot; and works fine for pop3 server by using Outlook Express & Netscape Communicator.&nbsp;&nbsp;And the header does not work on web-based mail server.<br><br>Thank you.
 
The problem is with the web-based e-mail server.&nbsp;&nbsp;The CGI programs on the web server should deal with HTML formatted e-mail (for want of a better term...)&nbsp;&nbsp;Your local e-mail server should not be doing any reformatting of any e-mail content.&nbsp;&nbsp;All that your (in fact, any) mail server should be doing is passing on a text message to another e-mail server somewhere else.&nbsp;&nbsp;Leave the message formatting to the mail client (ie, Outlook Express), and the display formatting to the remote web-mail server (ie, Hotmail). <p> <br><a href=mailto: > </a><br><a href= > </a><br>--<br>
0 1 - Just my two bits
 
How to send an attachment via sendmail, by typing the command at command line?
 
you have to encode the attachment ... i found a good example on sendmails site i think ( could be it was just a general internet search actually) but you encode the file (mimencode it i think) and then pipe it in with your message ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top