View Full Version : need help: how to send Rich-html Emails ?
08-08-2002, 01:01 AM
i wonder how to send Emails with some html ?
maybe file attachment could work
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: email@example.com\n";
print MAIL "From: firstname.lastname@example.org\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.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.