WordPress.org

Ready to get started?Download WordPress

Forums

Blog via gmail (12 posts)

  1. Leion
    Member
    Posted 7 years ago #

    Hi

    I would like to blog using emails. I have set up my host email to use the gmail servers. Problem is that Gmail allows only SSL connections. I find that after setting up the email details in my wordpress installation, the blog is not able to get into my email account. Is there anyway I can get by this? or is there any email servers that allow pop3 access without SSL ?

    Thanks in advance

  2. vshare
    Member
    Posted 7 years ago #

    try this
    ssl://pop.gmail.com as your server address

  3. akulavolk
    Member
    Posted 6 years ago #

    vshare, have you confirmed that ssl://pop.gmail.com works? I haven't been able to get this to work. Everything I've read about WordPress' blog-by-mail support suggest it doesn't support SSL, even if you list an SSL server for your POP server.

    Have you tried this and gotten it working? If so, what other software have you installed to get this to work?

  4. swauthor
    Member
    Posted 6 years ago #

    I discovered that this works, thanks so much.

    ssl://pop.gmail.com as your server address thanks so much.

    However I am trying to add the code that automatically downloads from gmail to the WP, instead of doing it manually. Here are the instructions for it:

    An alternative to manual browser activation is to add the following iframe code to the footer of your blog:

    <iframe src="http://yourblogdomain/wordpressinstalldir/wp-mail.php" name="mailiframe" width="0" height="0" frameborder="0" scrolling="no" title=""></iframe>

    Edit the above line of code so that it refers to the location of your wp-mail.php file. Add this line of code to the footer.php file in the directory for whatever theme you are using (don't include it within an HTML paragraph).

    FOOTER: The following is my footer and I dont know where to put the code. I tried it at the very top and the very bottom. It does not seem to work. I did change the url to the correct domain and directory.

    </div> <!-- wrapper -->
    <div id="footer"><div><div><div>
    ">Entries (RSS) and ">Comments (RSS). Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr> and <abbr title="Cascading Style Sheets">CSS</abbr>.
    Powered by WordPress. Theme Evanescence by Srini G.
    <?php wp_footer(); ?>
    </div></div></div></div>
    </div> <!-- page -->
    </body>
    </html>

  5. Samuel Wood (Otto)
    Tech Ninja
    Posted 6 years ago #

    That is a *really* bad way to do it. Basically, it means that anybody who loads your blog will trigger it to checking gmail, every single time. Bad idea, sure to overload your server and make gmail block you.

    Setup a cron job through your host instead.

  6. swauthor
    Member
    Posted 6 years ago #

    Thank you for responding so quickly. I just checked cron and I am lost in that dept.

    Is it ok to add this plug in instead?

    http://skippy.net/plugin-wp-cron

    I only post once a day at 9 PM, so it only needs to download once every 24 hours.

  7. swauthor
    Member
    Posted 6 years ago #

    Also I posted a need on stylesheets missing.
    http://wordpress.org/support/topic/151243?replies=6

    If you are available to respond to that one too, I would greatly appreciate it.

  8. Samuel Wood (Otto)
    Tech Ninja
    Posted 6 years ago #

    No, the wp-cron plugin is deprecated and should not be used. It will likely not work with newer versions of WordPress.

    Using cron on your host is generally very easy if they use cpanel or something similar.

  9. swauthor
    Member
    Posted 6 years ago #

    OK, I am in the cpanel cron. It is asking for command.

    Does this look correct?
    php/http://mydomain/Blog/wp-mail.php

    (I changed to my domain)

  10. Samuel Wood (Otto)
    Tech Ninja
    Posted 6 years ago #

    It's probably something like this:
    wget -q -O /dev/null http://example.com/blog/wp-mail.php

    Something like this might also work:
    /usr/local/bin/php -q /home/your_username/public_html/blog/wp-mail.php

    Hard to say, exactly. You'd have to ask your hosting service what the correct command would be, because it depends on the server.

  11. swauthor
    Member
    Posted 6 years ago #

    I have noticed that when I click the manual check to download the gmail to WP...

    http://my domain/Blog/wp-mail.php

    ... that it does not publish. Instead it is pending. Is there a way to get it to automatically Publish? This is coming from my daily email list and I dont want to have to go in every day and click Publish. My daily email list is on reserve months in advance so it is all automated.

  12. swauthor
    Member
    Posted 6 years ago #

    wget -q -O /dev/null http://example.com/blog/wp-mail.php

    OK, I tried that one, we will see if it works. Thanks so much.

Topic Closed

This topic has been closed to new replies.

About this Topic