Re: Mail() in HTML format

From: Date: Mon, 17 Jul 2000 08:10:16 +0000
Subject: Re: Mail() in HTML format
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-6890@lists.php.net to get a copy of this message
Has anyone worked out a solution for sending mail with Mail() inHTML format?
It's all in the header command. You just need to include "Content-Type: text/html" as one of your header lines. Then make your Email body an HTML style. See below... mail("$email", "$subject", "$body", "From: $from\nReply-To: $from\nContent-Type: text/html\nX-Mailer: www.yoursite.com\nX-Priority: 1 (Highest)");

« previous php.general (#6890) next »