legohead6 Posted September 15, 2006 Share Posted September 15, 2006 Hi, i took quiet a long break from php and know i am getting back but i have forgoten a thing or too..what do you put for headers in the mail() function to make html work in the email?Thanks,Matt Link to comment https://forums.phpfreaks.com/topic/20809-mail-with-html/ Share on other sites More sharing options...
steelmanronald06 Posted September 15, 2006 Share Posted September 15, 2006 http://lampgeekz.netgeekz.net/forum/index.php/topic,38.0.html Link to comment https://forums.phpfreaks.com/topic/20809-mail-with-html/#findComment-92115 Share on other sites More sharing options...
joshi_v Posted September 15, 2006 Share Posted September 15, 2006 Check this<?php$to = '[email protected]';$subject = 'the subject';$message = 'hello';$headers = 'From: [email protected]' . "\r\n" . 'Reply-To: [email protected]' . "\r\n" . 'X-Mailer: PHP/' . phpversion();mail($to, $subject, $message, $headers);?>Cheers :) Link to comment https://forums.phpfreaks.com/topic/20809-mail-with-html/#findComment-92237 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.