php_begins Posted September 20, 2011 Share Posted September 20, 2011 In my mail function, the $message parameter contains html tags such as <br><B> <a> etc etc.. But when I receive the email those tags are non functional. I do not get a bold text or a line break or a hyperlink as I should. How do i make it work? Link to comment https://forums.phpfreaks.com/topic/247475-html-tags-in-mail/ Share on other sites More sharing options...
php_begins Posted September 20, 2011 Author Share Posted September 20, 2011 $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; never mind..i added this to the header.. Link to comment https://forums.phpfreaks.com/topic/247475-html-tags-in-mail/#findComment-1270844 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.