Daleeburg Posted April 27, 2007 Share Posted April 27, 2007 So i am trying to use Php to send out an HTML formated message, but it sends it out and i can still see all the tags, help please $headers = 'From: [email protected]' . "\r\n" . 'Reply-To: [email protected]' . "\r\n" . 'X-Mailer: PHP/' . phpversion(). 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; mail($_POST['2email'], 'Welcome To CaffeineReviews.com', '<html><body>Thank you for registering at CaffeineReviews.com. Your Account Information is as follows:<br> USERNAME: '.$_POST['user'].'<br> E-MAIL ADDRESS: '.$pemail1.'@'.$pemail2.'<br><br> You must visit this link before you can post any reviews or any thing in the forums.<br><a href="http://www.CaffeineReviews.com/index.php?mode=validate&u='.$_POST['user'].'&r='.$rand.'">http://www.CaffeineReviews.com/index.php?mode=validate&u='.$_POST['user'].'&r='.$rand.'</a><br><br>Thank you,<br> CaffeineReviews.com</body></html>', $headers); Link to comment https://forums.phpfreaks.com/topic/48993-php-html-mail/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.