php mail() Q
php mail() Q
Out of context: Reply #4
- Started
- Last post
- 9 Responses
- enobrev0
\n should be just fine as most email readers interpret \n as a newline regardless. \r is how windows creates a newline, but most win apps can read plain \n jsut fine.
If you're using a break tag, you'll want to set the email up as an html email. It's preobably better to use plain ASCII, get rid of your html tags and use the newlines mentioned above.
If you absoltuely have to have html, look into how to change your mail headers. Her's an old article on it:
http://www.zend.com/zend/trick/h…
if yo google around for html email php you should find plenty of examples.