|
|
Send raw HTML messages from Mail.app
I use sendmail, so my instructions are to be viewed with that in mind.
in order to send an HTML Mail, one need to add affitional header information - Content-Type: text/html - before the message content (HTML code). Also, there must be a space between header info and the message content.
For example, I would save a file msg.html (extension here does not matter much, but for the sake of consistency, I use .html for all html files) with HTML code:
Content-Type: text/html <html> <body> Some html mail message </body> </html>Then go to terminal and type there: sendmail -v someone@emailaddress.com < msg.htmland hit return (I like to see what happens during sendmail, so I add a flag -v which enables verbose mode)
Send raw HTML messages from Mail.app
How do I set up sendmaill so that I can send messages this way from my email address?
Send raw HTML messages from Mail.app
For the starters, try this place:
http://www.oreillynet.com/pub/a/mac/2002/09/10/sendmail.html It may sound complicated, but it's really not, as long as you can survive very boring but essential details..
Sendmail Enabler
Or you can download Sendmail Enabler, which provides a GUI to enabling sendmail. Dead easy!
Sendmail Enabler
I have replaced my Sendmail with Postfix, which has its own Sendmail emulator - but I can not seem to get this work. Any ideas or tips? |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.37 seconds |
|