line breaks in text message
Posted: Wed May 21, 2008 2:44 am
hello
as a conent user, this time i use swiftmailer for the first time with a simple text-message like this
(i've done attahcments in jpg, pdf, word,... html massmail... but never this simple textmail)
$body ='Geachte klant,\n';
$body .='Wij danken U voor Uw on-line bestelling en zullen deze met alle spoed verwerken.\n';
$body .='Alle bestellingen voor 14u zullen nog de dag zelf worden behandeld.\n \n';
$body .="Opmerking door U ingegeven:\n";
$body .= stripslashes($_POST["msg"]);
$message->attach(new Swift_Message_Part($body));
the mail gets send, but doesn't get broken into the lines i want where i put the \n
doesn't the \n work?
and what is the solution then...????????????
thanks
mille grazie
merci bien
gracias
Steven
ps Chris another donation is coming your way, if this works...
as a conent user, this time i use swiftmailer for the first time with a simple text-message like this
(i've done attahcments in jpg, pdf, word,... html massmail... but never this simple textmail)
$body ='Geachte klant,\n';
$body .='Wij danken U voor Uw on-line bestelling en zullen deze met alle spoed verwerken.\n';
$body .='Alle bestellingen voor 14u zullen nog de dag zelf worden behandeld.\n \n';
$body .="Opmerking door U ingegeven:\n";
$body .= stripslashes($_POST["msg"]);
$message->attach(new Swift_Message_Part($body));
the mail gets send, but doesn't get broken into the lines i want where i put the \n
doesn't the \n work?
and what is the solution then...????????????
thanks
mille grazie
merci bien
gracias
Steven
ps Chris another donation is coming your way, if this works...