$mailContent=str_replace(" "," ",$mailContent);
$mailContent=str_replace("\n"," ",$mailContent);
Why do the above lines introduce '!' at random points in my mail content?
Input:
http://pastebin.com/7eG6d3SH
Output:
I actually had a huge problem with this just yesterday.
Basically, your lines are too long, and out of desperation it's throwing in !\n
to break it up so it can be transmitted effectively.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With