I have a somewhat frustrating issue.
Im have a web database where the administrator can sends users emails from an html form with textbox for the messge.
I cant seem to get rid of some errors.
I use mysql_real_escape_string to sanitize the message, however this leaves me with backslashes in my message( before apostrophes and such).
If i remove slashes, the admins line breaks insert "rn" on each line break in the message.
Is there a possible way to simply send php mail cleanly, without apostrophes cutting the message off, without backslashes for characters, and without inserting "rn"s for the line breaks.
Ive looked all over but every solution leads to a new problem.
Thanks for any help anyone could give me. =)