Forums

"There doesn't seem to be any new mail." & wp-mail.php (26 posts)

  1. eastjp01
    Member
    Posted 4 years ago #

    When executing my "wp-mail.php" file within my browser, I still am receiving the following message: "There doesn’t seem to be any new mail."

    I have a blog successfully installed & setting at powweb.com, & I have a "secret" email account set up with close to 20 test posts. The "crontab" file (cron job) will not post the "secret" email account postings to WebPress & neither will executing the "wp-mail.php" file within my browser. Email just is not publishing. When loading the following file in my browser [my-domain.com is changed to my actual domain],

    http://www.my-domain.com/blog/wp-mail.php

    I still continue to receive the "There doesn’t seem to be any new mail." message. Shouldn't that cause the "wp-mail.php" file to read the test emails setting in my secret email account even if something may be wrong with the "crontab" file (cron job) pathing command? That is what I think, but I am not sure.

    Please advise.

    John

  2. skippy
    Member
    Posted 4 years ago #

    First, have you triple-checked the settings you defined for your blog-by-mail account in Options->Writing ? Can you log into your secret account using a regular email program with the username and password defined in your blog?

    Second, are you sure cron jobs are working at all?

    Third, you might give my WP-Cron plugin a try. It includes a wp-cron-mail plugin that uses WP-Cron to do everything that wp-mail.php does, but without setting up actual cron jobs on your host.

  3. eastjp01
    Member
    Posted 4 years ago #

    Yes, I can send email to my "secret" email account, & "yes," I can read the email using Outlook Express.

    After trying several things, I have now set WebPress to the following settings & in the following areas in hopes of a break through:

    My Administrater/UserName E-mail is set to my "SecretEmailAccount@my-domaine.com"

    My Options/General Options E-mail Address is set to my "SecretEmailAccount@my-domaine.com"

    My Options/Writing Login Name is set to my "SecretEmailAccount@my-domaine.com" [Just setting it to my "SecretEmailAccount" without the "@my-domaine.com" added didn't work either.]

    My Options/Writing Password is set the same as my "SecretEmailAccount@my-domaine.com" password on my e-mail hosting server.

    Executing
    http://www.my-domain.com/blog/wp-mail.php
    still reveals no test e-mails setting in my "SecretEmailAccount@my-domaine.com" account.

    John

  4. skippy
    Member
    Posted 4 years ago #

    When checking the secret account from Outlook Express, have you configured Outlook Express to leave read messages on the server? If not, then the act of checking the secret account with Outlook Express will remove all messages from the mailbox, leaving it empty the next time wp-mail.php executes.

  5. eastjp01
    Member
    Posted 4 years ago #

    Yes, it leaves the messages, approximately 20 of them, still on the e-mail server.

    I can log into the "secret" e-mail acount, log out of it, & log back into it again & again, & all of the test postings are still waiting on the wp-mail.php file to read them. Isn't that the function of the wp-mail.php file, to read & subsequently publish the e-mail postings residing in the "secret" e-mail acount?

    John

  6. skippy
    Member
    Posted 4 years ago #

    That is supposed to be what wp-mail.php does.

    Do you have access to your webserver's error logs? It might be that wp-mail.php is throwing an error, and sending it (correctly) to the error log file.

  7. eastjp01
    Member
    Posted 4 years ago #

    I'll check.

    John

  8. eastjp01
    Member
    Posted 4 years ago #

    The error logs from today are not available, but the ones from yesterday are & they do not reveal anything that would indicate WebPress is putting out an error message.

    John

  9. dlloyd
    Member
    Posted 4 years ago #

    Hello
    I am having pretty much identical problems to those oulined above by "eastjpo1".

    I have set up my "secret" email address. I can send emails to it which I can access either on the server or via Outlook Express. But when I run wp-mail.php in my browser I get the message:

    "There doesn’t seem to be any new mail."

    The cron job is set up and I am sure it will work correctly if it ever gets the chance.

    I really would appreciate help with this if anyone has any ideas.

    Thanks
    Dave

    ps Although I downloaded Worpress, I actually installed and upgraded it from the Fantastico script in cPanel ver 1.5.1.2

  10. neildorgan
    Member
    Posted 4 years ago #

    I do not receive this error when attempting to post by email, but I get the following error message:

    Ooops POP3 connect: Error []

    I am using a GMail account for posting. I can connect to it using the same settings in Thunderbird, but cannot using wp-mail.php
    Is this because GMail requires SSL to be used?

    Please help

    Neil

  11. skippy
    Member
    Posted 4 years ago #

    I believe your problem is SSL, neildorgan. The stock wp-mail.php file only talks plain POP3, not POP3-over-SSL. Note that setting the POP3-over-SSL port in your WP Admin options won't help, because I don't see any SSL-related routines in /wp-includes/class-pop3.php.

  12. dentserver
    Member
    Posted 4 years ago #

    make sure your email account name in wordpress includes your domain name, ie secretname@domain.com
    this is not clear in the docs, but must be there for it to work.

  13. neildorgan
    Member
    Posted 4 years ago #

    Thanks for your help skippy.
    Anyone know of a good email service which doesnt use SSL, and doesn't get much spam? (I don't want Viagra adverts posted on my blog (Unless Pfizer pay me that is))

    Neil

  14. skippy
    Member
    Posted 4 years ago #

    wp-mail.php includes a very rudimentary check to compare the incoming email address against registered users in the WordPress database. If the FROM: line in the email does not match a registered user's email address, then the WordPress site admin is used to post the mail to the blog.

    You could edit wp-mail.php to remove the admin portion of that check, so that if an email arrives from anyone other than a registered user, it will be silently discarded. Likewise you could edit wp-mail.php to require a specifc piece of text in the subject line of the email; and if not present the message will be discarded.

  15. marty79
    Member
    Posted 4 years ago #

    hi
    i ve exactly the same issue....
    no mail... but my pop account is good ;(

    no solution?

  16. slatonairsports
    Member
    Posted 4 years ago #

    I have similar problem. My E-mail will show up in my blog only if I execute the wp-mail.php file in the browser. Why is this? Is there something I could change in the code? PLEASE, PLEASE HELP...

  17. stevecooley
    Member
    Posted 4 years ago #

    Sigh, me too

  18. klanxner
    Member
    Posted 4 years ago #

    I am bumping this thread in the hope that someone has come up with an answer. I have checked every setting countless times, tried new email addresses, sent from different clients, verified that spam blocking was not trapping the message, etc. etc.

    Still nothing.

    Thanks.

    Ken

  19. klanxner
    Member
    Posted 4 years ago #

    I have solved my problem with mail.php not finding new mail messages.

    The Codex says:

    Choose an account name (postaccount) and password, and enter them.
    NOTE: The postaccount name should be the complete user@example.com format, and not just the user name.

    And this advice is repeated in this thread and elsewhere.

    But I got it to work simply by using the user name and NOT the complete email address format.

    I hope this helps others who are having a problems with this.

  20. pibby
    Member
    Posted 4 years ago #

    I'm having the same sort of problem, but I can see the posts that I sent by email in my database's wp-posts table. I don't know why Wordpress is no longer grabbing them, but this problem is appearing on 2 of my blogs now.

  21. LeonardMooney
    Member
    Posted 4 years ago #

    I am still having this problem. all teh email accoutsn are correct. database entrise are correct. I am nto runnign the cron job yet because I want to get this fixed before I get to that point btu everytime I run http://iamwhistler.com/wordpress/wp-mail.php

    I get
    There doesn’t seem to be any new mail.

    Tehre ae 2 test messages in there and I can see them in my webmail as well as download them with Outlook. Please help.

  22. LeonardMooney
    Member
    Posted 4 years ago #

    Excuse my typos it is 4am

  23. skipwalker
    Member
    Posted 3 years ago #

    not sure if this thread is still actively viewed, but i too had the same problems, and followed the suggestion of klaxner. worked... finally.

    i simply put the username withOUT the domain address following.

  24. gecarter53
    Member
    Posted 3 years ago #

    For me, the solution was just the opposite of skipwalker's. Originally, I had not included the domain address as part of the username (ex: username). However, when I added it (ex: username@domainname.com) I was able to post by email.

  25. Lockyc
    Member
    Posted 3 years ago #

    Seems this tag has been open for a long long time. I am still holding on to hope that it can be resolved.
    I have the "There doesn’t seem to be any new mail" problem. I have checked my set ups, using any and all the prescribed methods posted here. Nothing seems to work.

    I contacted my hosting company, they gave me the direct mail server address as a query point, that did not help. All returned the same message. My host uses Horde as a mail server, I am wondering if it has something to do with how the fetch command is formatted in wp-mail.php. It truly would be nice to be able to use the post-by-mail function.

    I am no expert on php scripts but it seems that the program is actually querying the server accounts; it just doesn’t see the mail for some reason. Others that have this problem, is your hosting company using Horde? My host is IXWebhosting for just for a bit more info. Has anyone using IXWebhosting actually gotten it to function? I am using wordpress 2.0.3 if that is any help. Maybe if enough people respond, we can put enough heads together and find a collective solution. Thanks to all

  26. metavalent
    Member
    Posted 3 years ago #

    How embarrassing. First, after finding this thread http://codex.wordpress.org/Blog_by_Email and following the advice to create a more meaningful error message, namely:

    If you're feeling adventuresome open

    wp-mail.php

    and search for:

    $count = $pop3->login(get_settings('mailserver_login'), get_settings('mailserver_pass'));

    Change the lines following it to something like:

    if (0 == $count) :
    echo "There does not seem to be any new mail. <br/>\n";
    echo "count = $count<br/> \n";
    echo "$pop3->ERROR \n";
    exit;
    endif;

    I ran wp-mail.php from the full URI one more time and received:
    POP3 pass: authentication failed [-ERR Login failed.]
    Which prompted me ONCE AGAIN to carefully visit my WP admin setup, only to find a single repeated character in my password! All that time, it was a sloppy typo in my own password! Garr! I have nothing to blame but my own stupidity, but it might be nice if the stock wp-mail.php included this more informative error reporting, in the future.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags