Page 1 of 1
New lines in text/html mail()
Posted: Sun Apr 18, 2004 7:44 pm
by Steveo31
I'm sure this has been asked/answered before, but nothing came up on the search. I can make newlines with \n in a text/plain email, and I can have HTML in a text/html email, but not both.
I've tried \r\n to no avail either.
Posted: Sun Apr 18, 2004 8:14 pm
by John Cartwright
what?
Posted: Sun Apr 18, 2004 8:38 pm
by Illusionist
ya what Phenom said, What??
do you even knwow aht your asking??
Have you tried <br>??
Posted: Sun Apr 18, 2004 11:38 pm
by Steveo31
Hah.. yes I know what I am asking.
In a mail() function, I can make newlines (line breaks) with "\n" if the content type is text/plain. However, this doesn't allow for HTML like <b> tags and whatnot.
If the content type is text/html, the "\n" don't work.
Sorry for the confusion.
Posted: Sun Apr 18, 2004 11:39 pm
by John Cartwright
Yea.. what are you asking.
Posted: Mon Apr 19, 2004 12:55 am
by vigge89
how to make it work?
Posted: Mon Apr 19, 2004 12:56 am
by Steveo31
Nevermind
