WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] wp-mail is not handling a certain post in email correctly (2 posts)

  1. MarkRH
    Member
    Posted 4 years ago #

    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="http://twitter.com/mrheadrick/statuses/9739951587" 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:

    <p>gasp</p>

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

    Any ideas?
    Thanks

  2. MarkRH
    Member
    Posted 4 years ago #

    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. :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags