Forums

Emails not being received... except in Gmail? (12 posts)

  1. chisathechi
    Member
    Posted 5 months ago #

    Since updating to WordPress 3.3, my client hasn't been receiving any notification emails. It was working fine previously (on WP 3.1). It appears to send correctly and no errors come up when requesting a password or sending a contact form, but he doesn't receive the emails. I tried changing it to my email address, with the same problem. The emails don't appear in the Junk or Trash folders. Both of us have different hosting accounts for our emails.

    Strangely, when I test it with my gmail account it receives emails fine. Any ideas what could be causing this?

  2. Josh
    Member
    Posted 5 months ago #

    Any plugins installed which alter how emails are sent or received?

  3. chisathechi
    Member
    Posted 5 months ago #

    I didn't originally, but just tried installing WP Mail SMTP when it stopped working to see if it fixed things - seems it doesn't :(

    EDIT: tried uninstalling all plugins to see if any are causing the issues; still not receiving emails to my hosted account, receiving fine to GMail

  4. Josh
    Member
    Posted 5 months ago #

    How many plugins do you have installed?

    If it were me, I would disable all my plugins. Make sure to clear any cache and refresh your browser. A lot of times a plugin will conflict with a new version of wordpress. Try to get the site close to "bare bones", and see if the mail will send properly.

    If it does, then you can start activating your plugins one at a time and see if you can find the culprit.

  5. Josh
    Member
    Posted 5 months ago #

    Okay, try switching to the twenty eleven theme to test.

  6. chisathechi
    Member
    Posted 5 months ago #

    Just tried it, still not working apart from to GMail.

    If it helps at all, this is the debugging info I get from WP Mail SMTP:

    Test Message Sent
    
    The result was:
    
    bool(true)
    
    The full debugging output is shown below:
    
    object(PHPMailer)#502 (53) {
      ["Priority"]=>
      int(3)
      ["CharSet"]=>
      string(5) "UTF-8"
      ["ContentType"]=>
      string(10) "text/plain"
      ["Encoding"]=>
      string(4) "8bit"
      ["ErrorInfo"]=>
      string(0) ""
      ["From"]=>
      string(17) "info@nextinct.com"
      ["FromName"]=>
      string(8) "nextinct"
      ["Sender"]=>
      string(0) ""
      ["Subject"]=>
      string(49) "WP Mail SMTP: Test mail to teresa@teresawatts.com"
      ["Body"]=>
      string(68) "This is a test email generated by the WP Mail SMTP WordPress plugin."
      ["AltBody"]=>
      string(0) ""
      ["WordWrap"]=>
      int(0)
      ["Mailer"]=>
      string(4) "smtp"
      ["Sendmail"]=>
      string(18) "/usr/sbin/sendmail"
      ["PluginDir"]=>
      string(0) ""
      ["ConfirmReadingTo"]=>
      string(0) ""
      ["Hostname"]=>
      string(0) ""
      ["MessageID"]=>
      string(0) ""
      ["Host"]=>
      string(9) "localhost"
      ["Port"]=>
      string(2) "25"
      ["Helo"]=>
      string(0) ""
      ["SMTPSecure"]=>
      string(0) ""
      ["SMTPAuth"]=>
      bool(false)
      ["Username"]=>
      string(0) ""
      ["Password"]=>
      string(0) ""
      ["Timeout"]=>
      int(10)
      ["SMTPDebug"]=>
      int(2)
      ["SMTPKeepAlive"]=>
      bool(false)
      ["SingleTo"]=>
      bool(false)
      ["SingleToArray"]=>
      array(0) {
      }
      ["LE"]=>
      string(1) "
    "
      ["DKIM_selector"]=>
      string(9) "phpmailer"
      ["DKIM_identity"]=>
      string(0) ""
      ["DKIM_domain"]=>
      string(0) ""
      ["DKIM_private"]=>
      string(0) ""
      ["action_function"]=>
      string(0) ""
      ["Version"]=>
      string(3) "5.1"
      ["smtp:private"]=>
      object(SMTP)#501 (7) {
        ["SMTP_PORT"]=>
        int(25)
        ["CRLF"]=>
        string(2) "
    "
        ["do_debug"]=>
        int(2)
        ["do_verp"]=>
        bool(false)
        ["smtp_conn:private"]=>
        resource(114) of type (stream)
        ["error:private"]=>
        NULL
        ["helo_rply:private"]=>
        string(87) "250-nextinct Hello localhost [127.0.0.1]
    250-SIZE 52428800
    250-PIPELINING
    250 HELP
    "
      }
      ["to:private"]=>
      array(1) {
        [0]=>
        array(2) {
          [0]=>
          string(22) "teresa@teresawatts.com"
          [1]=>
          string(0) ""
        }
      }
      ["cc:private"]=>
      array(0) {
      }
      ["bcc:private"]=>
      array(0) {
      }
      ["ReplyTo:private"]=>
      array(0) {
      }
      ["all_recipients:private"]=>
      array(1) {
        ["teresa@teresawatts.com"]=>
        bool(true)
      }
      ["attachment:private"]=>
      array(0) {
      }
      ["CustomHeader:private"]=>
      array(0) {
      }
      ["message_type:private"]=>
      string(5) "plain"
      ["boundary:private"]=>
      array(2) {
        [1]=>
        string(35) "b1_48e0aa6ec8f3d5fdde40d069cdec2349"
        [2]=>
        string(35) "b2_48e0aa6ec8f3d5fdde40d069cdec2349"
      }
      ["language:protected"]=>
      array(0) {
      }
      ["error_count:private"]=>
      int(0)
      ["sign_cert_file:private"]=>
      string(0) ""
      ["sign_key_file:private"]=>
      string(0) ""
      ["sign_key_pass:private"]=>
      string(0) ""
      ["exceptions:private"]=>
      bool(false)
    }
    
    The SMTP debugging output is shown below:
    
    SMTP -> FROM SERVER:220 nextinct ESMTP Exim 4.69 Thu, 22 Dec 2011 07:52:51 +0000
    
    SMTP -> FROM SERVER: 250-nextinct Hello localhost [127.0.0.1]
    250-SIZE 52428800
    250-PIPELINING
    250 HELP
    
    SMTP -> FROM SERVER:250 OK
    
    SMTP -> FROM SERVER:250 Accepted
    
    SMTP -> FROM SERVER:354 Enter message, ending with "." on a line by itself
    
    SMTP -> FROM SERVER:250 OK id=1RddSN-0003AF-5F
  7. Josh
    Member
    Posted 5 months ago #

    What notifications are not being received? Is it when a new member joins the site?

  8. chisathechi
    Member
    Posted 5 months ago #

    I've tried it with:
    - the test email from WP Mail SMTP
    - forgotten password
    - Contact Form 7 (before I disabled it)
    - purchase notifications (before I disabled the shop plugin)

    All are received fine to my GMail, but not at all to my hosted email account or my clients.

    As far as I can tell no emails coming from WP are being received.

  9. Josh
    Member
    Posted 5 months ago #

    So are you switching the email address in the settings menu?

  10. chisathechi
    Member
    Posted 5 months ago #

    Yes.

  11. Josh
    Member
    Posted 5 months ago #

    Is the gmail account the first one that was used on the site? When it was installed?

  12. chisathechi
    Member
    Posted 5 months ago #

    No, it was installed with an info@domain.com type email address. The account is an existing one.

Reply

You must log in to post.

About this Topic

Tags