...

View Full Version : need help: how to send Rich-html Emails ?



victor-C-
08-08-2002, 01:01 AM
i wonder how to send Emails with some html ?

maybe file attachment could work

:confused:

Mouldy_Goat
08-08-2002, 07:15 PM
Just put a Content-Type: text/html line somewhere in the mail headers. i.e. if you've got a mail script already going which looks like this:


print MAIL "To: bob@domain.com\n";
print MAIL "From: susan@somewhere.com\n";
print MAIL "Subject: Monkey brains taste better in soup\n\n";
print MAIL "Hello.";

You'd just need a line going:


print MAIL "Content-type: text/html\n";

before the main content starts.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum