The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help with a HTML Email header in PHP
I am trying to make my forum have the ability to send out HTML email through the control panel to my users. So I am working on the admin/email.php and the email sends great, with HTML working and all but the from address gets all discombobulated.
Here is the code I am adding Code:
// joor added for html email $headers = "From: $from \r\n"; $headers .= "MIME-Version: 1.0\n" . "Content-type: text/html; charset=iso-8859-1"; $sendmessage = stripslashes($sendmessage); // end if (!$test) { echo "sending ... \n"; // vbmail($user['email'], $subject, $sendmessage, $from); // joor edited for html email vbmail($user['email'], $subject, $sendmessage, $headers); // end Code:
"From: webmaster@rcfiles.com@secure.rcfiles.com" |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|