The title appears from the subject line but the body is empty when I send plain text emails. RTF and HTML emails have their body received but due to the HTML tags in them they take a lot to clean up.
This is a new wp site. I've search the forums and saw there were lots of issues back on version 2.x. I tried some of them where applicable and no luck. Is anyone else using emails to post and are you successful?
I've sent plain text emails from two different accounts and email servers and the same issue exists.
ksizzo
Member
Posted 8 months ago #
I had the same problem but only with multipart emails. By looking at the wp-mail.php file I think I found the issue.
The parsing routine is looking for the first blank line to indicate the start of the email body (my example had a blank line after the first content-type). Once it finds this it stops checking things like content-type. On a multipart email, at least mine, the first content-type line identifies it as multipart. The second and third identifies charset. The routine doesn't make this distinction and grabs a boundary id for the charset.
In addition the variable that holds the content-type is an array but is tested a couple times as string to determine if the email is multitype.