Forum Moderators: coopster
I know that I do need to escape the normal problematic characters, but is there any way to remove the backslash after sending the email - or right before sending it?
Example: User sends email with this as body:
"Hi there, John! It's been great talking to you."
Resulting email:
"Hi there, John! It\'s been great talking to you."
[edited by: eelixduppy at 8:12 pm (utc) on Dec. 17, 2008]
[edit reason] removed URL [/edit]
I just did a test to see what $_POST['message'] was sending across, and it was in fact escaped from the get go. PHPMailer doesn't have anything to do with it.
So hmm; need to find why my server adds the slashes automatically, and if it's safe to turn them off.