Home
TeamSite
HTML emails?
WORKFLOWdude
I'm using send mail (as opposed to servlet mail) and I can't figure out how to send an HTML email message as part of an email task. I've figured out how to successfully attach a text file to the email, however, when I attach an HTML file the email displays all of the tags rather than the HTML formatting. Any suggestions?
Find more posts tagged with
Comments
Marko
If you're using sendmail, just insert following before body
....
print MAIL "Subject: $subject\n";
print MAIL "MIME-Version: 1.0\n";
print MAIL "Content-Type: text/html; charset=iso-8859-1\n";
print MAIL "\n";