Text Formatting in mail() Function....
Posted: Wed May 28, 2003 1:47 pm
When ever I send an email using the mail() function, it sends but all the formatting (carriage returns, tabs, et al) are ignored!
Happens when sent from a variety of servers.
wen I place \ before 'special characters', it prints them!
I am assuming that either the mail() fucntion or the process of capturing my $_POST['message'] variable as a string causes special characters to be automatically escaped.
If I send HTML throug the the mail() function, I cannot guarentee the outcome, though it still sends, and there is HTML in the recieved message. Things like color just get skewed.
Any Ideas how I can at least get the carriage returns to work properly?
-pfv
Happens when sent from a variety of servers.
wen I place \ before 'special characters', it prints them!
I am assuming that either the mail() fucntion or the process of capturing my $_POST['message'] variable as a string causes special characters to be automatically escaped.
If I send HTML throug the the mail() function, I cannot guarentee the outcome, though it still sends, and there is HTML in the recieved message. Things like color just get skewed.
Any Ideas how I can at least get the carriage returns to work properly?
-pfv