Not an answer to a question, but it might help someone.
Send an HTML message and use <BR> instead of \ n.
And use <PRE></PRE> or CSS for pre-formatted text, moving \ n to newlines.
$headerFields = array( "From: who@are.you", "MIME-Version: 1.0", "Content-Type: text/html;charset=utf-8" ); mail($to, $subj, $msg, implode("\r\n", $headerFields));
Harijs KrΕ«tainis Dec 22 '15 at 9:36 2015-12-22 09:36
source share