I need to generate emails using mail(). I can't seem to get the /n character to work.
My code is as follows:
$msg = "Welcome to the Real Estate Information Center!\n";
$msg .= "More message here.";
I've tried using \r\n, \n, \\n. Everything I've read on the web, yet each time the email is sent, it arrives in my inbox as one long line of text.
My format header is coded like this:
$headers .= "Content-type: text/plain; charset=us-ascii\n";
Any ideas how I can resolve this issue?