pls can someone show me how to make new line in a text only email
to replace the <br> tag in HTML formatted emails.
Thank you in advance
Printable View
pls can someone show me how to make new line in a text only email
to replace the <br> tag in HTML formatted emails.
Thank you in advance
Try...
\n
\r\n for Windows.
I was close penagate ;)
I had a bangin' PHP email tutorial but our server is down :(
i've already tried \n but it doesn't work.
so i'm going to try \r\n
When you can access the tut again can you post it or PM it to me?
Thanks.
Make sure the escape sequences are in double quoted stringsQuote:
Originally Posted by modpluz
e.g.
Otherwise they are not parsed.PHP Code:$mail = 'First line'."\r\n".'Second line'
Yes;Quote:
Originally Posted by lintz
it's not working...
This works for me.....