Blog by Email Using Gmail vs. Yahoo? (9 posts)

  1. dchly
    Posted 8 years ago #

    I've spent nearly 2 straight hours searching for an answer and I'm still confused.

    Can I confirm that it is not possible to blog by email using gMail and postie?

    If it is possible, could someone please post the exact postie settings you used?

    If it's not, has anyone been successful w/a yahoo account?

    Thanks for any help.

    - david

  2. llamaman
    Posted 8 years ago #

    You can post via gmail and yahoo, but you need to do one of two things:
    1) send email using the "Plain Text" option in gmail and Yahoo
    2) Try the code fix below, which 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>
    Just change the line that reads:
    $content = explode('Content-Transfer-Encoding: quoted-printable', $content);
    $content = explode("\r\n\r\n", $content, 2);

  3. dwu2009
    Posted 8 years ago #

    Guys - you can check out MessageDance. I have been helping them with beta testing.

    They do this quite well -



  4. robespierre
    Posted 8 years ago #

    Thanks for your post. It worked to me too. I'm using 2.5.
    Our blog is http://www.technewsbr.com
    One of the autors cannot post at work, directly. Now he will write via gmail.

    Thanks, again.

  5. jfox95
    Posted 8 years ago #

    what settings do you have for the gmail? what server and port did you put in for gmail?

    I used pop.gmail.com and 995 but wp-mail.php said connection timed out (110).

    which i think means its trying port 110?

  6. O_Breda
    Posted 8 years ago #


    My name is Olivian BREDA. I think I've found a solution for a few of my blogs to be able to post via gmail. I want to share my solution with you.

    I've learned PHP myself just for this problem and I'm happy to be able to present you with my solution.

    You can find the wp-mail.php file created by on and details on the file on my blog:
    WordPress: How to use wp-mail.php correctly in Gmail blog posts? This is my solution.

    I use my solution on blogs using WordPress 2.5.

    I hope you'll like my solution.

    If you have any feed-back, I'm happy to reply on my blog.

    WordPress, thanks for the great blogging platform! ;)

  7. mrag
    Posted 7 years ago #

    This cannot be this hard can it-I simply want to be able to post to my WP blog using my Yahoo and or Gmail email account. First easy question-just where would I send (what email address) my email?

    Second question, is there something beyond MessageDance which looks simple but doesn't work or Olivian's hack, which isn't that simple but didn't work either? I apologize, I just find this very frustrating. TIA.

  8. ranebo
    Posted 7 years ago #

    @llamaman -- Excellent! Thank you so much.

  9. O_Breda
    Posted 7 years ago #

    You must configure an email address on your server on which to send emails to;
    so if your site is greatsite.com, you’ll have to have an address like myemail@greatsite.com. You can configure this address in the Settings area (or Options for older versions of WordPress); Then go to Writing Tab and voila. At the end of the page you’ll find these settings;

    You can read all about it here:

    I tried my best to make the PHP file work easily. Sorry it doesn't. :(

Topic Closed

This topic has been closed to new replies.

About this Topic