Jump to content

extra \rn when using mail()


solarisuser

Recommended Posts

Hi All,

 

I use the following to gather information and e-mail it:

 

<textarea name="test" rows="5" cols="40">1. 
2. 
3.
4. </textarea>

 

When it comes across in e-mail (plaintext), I see 1.\r\n2.\r\n, etc.

 

Is there a function I can use against $_POST['test'] to make them actual carriage returns?

Link to comment
https://forums.phpfreaks.com/topic/69365-extra-rn-when-using-mail/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.