WordPress.org

Ready to get started?Download WordPress

Forums

Blog by Email (7 posts)

  1. brightfire
    Member
    Posted 6 years ago #

    I have set up the blog by email function, including a cron job on the server to check the pop accounts. It is working.

    However, the body of the email is not coming through in the new posts. It get the subject line for the title of the post but nothing else.

    What could possibly be cuasing that?

    http://codex.wordpress.org/Blog_by_Email

  2. brightfire
    Member
    Posted 6 years ago #

    Anyone know what could be causing the body of the email message not to be imported into the post?

  3. Chris_K
    Member
    Posted 6 years ago #

    Formatting the email as HTML instead of plain text?

  4. lwwill7999
    Member
    Posted 6 years ago #

    There is a patch available, link on the Codex location you posted, but even after I installed the patch (Manually modifying the php file), it still does not work... I still only get the email title and no body text, either wit HTML or Plain Text.... It should import either one....

    - Lance

  5. jaynee
    Member
    Posted 6 years ago #

    I'm have the same issue - email shows up on the blog, with title, but NO content. I only use plaintext, so I don't know what the fix is.

    I've seen this question has been asked SEVERAL times with no solution other than "change it to plain text". But then when we try plain text, it still doesn't work and no one comes back with another possible solution. Very frustrating, but hopefully someone will come to our rescue!

  6. Chris_K
    Member
    Posted 6 years ago #

    Jaynee - did you see the mention of a patch right about your post?

    Did you try the patch?

  7. llamaman
    Member
    Posted 6 years ago #

    The following worked for me:

    It looks as though multipart messages aren't being parsed correctly. I made a quick fix to wp-mail.php:
    Approx 165 lines in, you'll see:
    if ($content_type == 'multipart/alternative') {
    $content = explode('--'.$boundary, $content);
    $content = $content[2];
    $content = explode('Content-Transfer-Encoding: quoted-printable', $content);
    $content = strip_tags($content[1], '<img><p>
    <i><b><u><strike><font><span><div>');
    }
    Just change the line that reads:
    $content = explode('Content-Transfer-Encoding: quoted-printable', $content);
    into:
    $content = explode("\r\n\r\n", $content, 2);

Topic Closed

This topic has been closed to new replies.

About this Topic