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.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.