Re: HTML Email

From: Date: Fri, 25 Aug 2000 09:53:57 +0000
Subject: Re: HTML Email
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-13635@lists.php.net to get a copy of this message
"Thomas Edison Jr." wrote: > > Where exactly do you put this : > Content-Type: text/html; > charset=iso-8859-1; > to send an html email? where is this header situated > and how? > > Regards, > T. Edison jr. Stupid me, forgot a \n before Content-Type - here's the fixed one: $message = "<html>\n<body bgcolor=\"#FFFFFF\">\nblahblahblah"; mail("thomasedisonjr@yahoo.com", "the subject", $message, "From: webmaster@$SERVER_NAME\nReply-To: webmaster@$SERVER_NAME\nX-Mailer: PHP/". phpversion() . "\nContent-Type: text/html; charset=iso-8859-1\n"); -- Marko

« previous php.general (#13635) next »