Hi
I've recently uploaded a script which sends email via php's mail() function - no problems, apart from when the script runs on my live server it's adding an extra line break to every line.
I've tried replacing \n\r and manually hitting enter in my variable, but it always seems to add an extra line break to the string when it sends the email.
Does anyone have any ideas why this would happen? Everything was fine on my development setup locally.
Many thanks
I've recently uploaded a script which sends email via php's mail() function - no problems, apart from when the script runs on my live server it's adding an extra line break to every line.
I've tried replacing \n\r and manually hitting enter in my variable, but it always seems to add an extra line break to the string when it sends the email.
Does anyone have any ideas why this would happen? Everything was fine on my development setup locally.
Many thanks