I am working with the mail() function and have a question. If I send out an email message as an html email, I know that I can send out the message as:
$message ='This is line one<br>This is line two<br>This is line three';
and the email would look like this when opened:
This is line one
This is line two
This is line three
I basically just want to send out plain text emails, but I can't figure out how to get a newline in a message. I tried this:
$message ='This is line one\nThis is line two\nThis is line three';
I thought the email message would look like:
This is line one
This is line two
This is line three
But instead it came out like this:
This is line one\nThis is line two\nThis is line three
Any suggestions on how I can add a carriage return into my messages? Thanks in advance for any replies.
😕