Re: [PHP] mail(): \r\n gives extra empty line between each line in Outlook

2001-04-01 Thread Erick Papadakis
I am not sure what you want to do, but you could try this: $myText = nl2br($dataFromSubmittedTextBox); Then $myText will have the correct values. Cheers --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.237 / Virus

[PHP] mail(): \r\n gives extra empty line between each line in Outlook

2001-03-22 Thread Eelco de Vries
Hi all, First I had a problem that text from a textarea form object passed to mail() ended up as a single line of text in MS Outlook. I changed the newlines to newlines _with_ carriage returns: strtr($mailbody, "\n", "\r\n"); Now it's not a single line of text but every newline skips an extra