Email garbled...
I am going to follow-up with them to see if it is an issue on their end, but before getting the run-around, I'd like to see if this is an issue that someone else may have encountered.
I am using mbsendmail() with the following headers:
"From: \"
Instead of getting this message:
"Test email"
this is what is received
6 Replies
@Python:
a="RlJPTTogUGF1bCBNZ……="
import base64
base64.b64decode(a)
'FROM: xxxx\r\n\r\nEMAIL: xxxx\r\n\r\nMESSAGE:\r\n\r\nTesting this feature'
PHP appears to be base64-encoding the e-mail and whatever is receiving isn't reading it correctly (or PHP isn't sending it correctly). Couldn't tell you how to fix it, but now you know what to Google.
Paul
@jed:
Python, king of all programming languages on Earth
Nah, assembly is the king - all others are merely wrappers for mortal programmers who would go blind if they were to see the true code with their naked eyes;)
Thanks!
mb_language
You could either explicitly set the language to English (and have your emails from mbsendmail sent as quoted-printable); or just use plain old mail().
Thanks for the pointer!
Paul