Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Send raw HTML messages from Mail.app' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Send raw HTML messages from Mail.app
Authored by: julzmon on Sep 06, '03 06:42:07PM

I happen to like html emails. They look nice and presentable and much easier to read then a whole bunch of text just sitting there. I would also like to know how I go about sending html emails this way.
I have searched for ever for a way to do this. There seems to be very little documentation on this and very little applications that can do this.



[ Reply to This | # ]
Send raw HTML messages from Mail.app
Authored by: Bipp on Sep 06, '03 09:55:03PM
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.html
and hit return (I like to see what happens during sendmail, so I add a flag -v which enables verbose mode)

[ Reply to This | # ]
Send raw HTML messages from Mail.app
Authored by: samsprograms on Sep 06, '03 11:54:19PM

How do I set up sendmaill so that I can send messages this way from my email address?



[ Reply to This | # ]
Send raw HTML messages from Mail.app
Authored by: Bipp on Sep 07, '03 12:56:27AM
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..

[ Reply to This | # ]

Sendmail Enabler
Authored by: pøbel on Sep 08, '03 07:44:27AM
Or you can download Sendmail Enabler, which provides a GUI to enabling sendmail. Dead easy!

[ Reply to This | # ]
Sendmail Enabler
Authored by: bluehz on Sep 08, '03 06:43:13PM

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?



[ Reply to This | # ]