Support » Fixing WordPress » wp-mail is not handling a certain post in email correctly

  • Resolved MarkRH


    I have sent an email post to my blog which arrives fine. I then run wp-mail.php to have it check the email and post it. This has been working just fine; however, I’ve come across a situation where it seems to have a problem parsing the contents correctly.

    Within the body of the email, it contains the following:

    <tr><td style="vertical-align: top; text-align: right; width:100px;">12:26:39 PM:</td><td style="vertical-align: top; text-align: left; padding-left:0.5em;">Other than the two I just did, I haven't sent a tweet out in 3 days. ::gasp:: | <a href="" target="_blank">View Tweet</a></td></tr>

    There’s more before and after the above snippet; however, the only thing that appears in the actual post when it’s finished is:


    Somehow it thinks “gasp” within “::gasp::” above the only contents of the post.

    Any ideas?

Viewing 1 replies (of 1 total)
  • Well, I modified the content of the post to have “:gasp:” instead of “::gasp::” and wp-mail.php then correctly parsed the email and posted it with the complete content.

    So, I guess this is resolved in a sense but the bug is still there within the code to not handle this situation properly. I’ll add this to the appropriate bug reporting place. 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘wp-mail is not handling a certain post in email correctly’ is closed to new replies.