sungpeng Posted February 5, 2012 Share Posted February 5, 2012 $msg = "E-mail sent from Sgforums.org/Swimming. <br>"; $msg .= " hello <br>"; $msg .= " friend <br>"; mail($to, $subjects, $msg, $mailheaders); Do anyone know how to add an <br> at $msg message when received mail Link to comment https://forums.phpfreaks.com/topic/256460-mail-php-msg-with/ Share on other sites More sharing options...
digibucc Posted February 5, 2012 Share Posted February 5, 2012 <br> will only work if your message is in html format, if it's text use newline \n Link to comment https://forums.phpfreaks.com/topic/256460-mail-php-msg-with/#findComment-1314768 Share on other sites More sharing options...
sungpeng Posted February 6, 2012 Author Share Posted February 6, 2012 thank you Link to comment https://forums.phpfreaks.com/topic/256460-mail-php-msg-with/#findComment-1314992 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.