email - newline not working in PHP mail -


I am using the following to send an email:

  & lt; Php .. $ message = 'hi'. $ Fname ', \ R \ nYour entries for the weekend' $ Week's 'Has been reviewed \ r \ nPlease login and view weekly reports to see reports and comments. \ R \ nThanks, \ r \ n '. $ Myname; Mail ($ $ $ $ theme, $ message, $ from); ? & Gt;  

When a message is received, it does not start a new row on "\ r \ n", but prints it only as part of the message.

I did not try any other client in Thirdbird 3 only.

your ' to " - php singles Under the quotes, a string is interpreted as a literal, whereas with quote ( "), you want it to be \ r \ n .

More info:


Comments