Posted on 2006-10-31
I'm using the php mail function to send structured emails based on data entered on web forms.
Some of the data entered MAY have single quote or double quote characters in the text. We want the email to reflect EXACTLY what's entered.
It appears that the php mail function "escapes" special characters. So, for example, if the input was O'Hanlon, the email message contains
Customer Name: O\'Hanlon
Is there a way to disable php mail from "escaping" these characters?
If not, is there anither "open source" mail package that doesn't do this?