I’ve only recently signed up with Dreamhost and I’m encountering a problem with the PHP mail function that I’ve never seen before. I wrote my own mailing list app, and now, whenever I try to send an email out to the mailing list, the body is being modified by having escape characters added. For example, if I write the word we’re, the function sends email out as we/'re.
Now, I understand what the escape characters are for, but I purposely left this type of input validation out of my code since I am the only person with access to send email. I figure I should just be able to send out exactly what I type–plus, the body is saved in a variable that I only echo, so I feel that the chances of it breaking anything are minimal.
I’ve tried everything I can think of as far as modifying the email message to get rid of the escape characters, but I’ve only managed to make it worse–such as I’ll type we/'re and it will display as we///'re. I don’t know what to do, and I don’t think I should have to stop using contractions and quoations in my email. Any suggestions?