Confirmation emails and contact emails not going out anymore

My sites emails seem to have stopped going out.

When new users register they dont get a confirmation email, and I realize my contact form with gravity forms collects the info, but no confirmation emails come to our admin email either.

Anyone experience a similar problem to this or know of a solution?

  • georgef

    Hi @Ulrich

    I tried to set it up with my email account from my site as well as gmail according to this:

    http://www.callum-macdonald.com/code/wp-mail-smtp/

    For gmail, I get this:

    Test Message Sent

    The result was:

    bool(false)

    The full debugging output is shown below:

    object(PHPMailer)#1957 (45) {
    ["Priority"]=>
    int(3)
    ["CharSet"]=>
    string(5) "UTF-8"
    ["ContentType"]=>
    string(10) "text/plain"
    ["Encoding"]=>
    string(4) "8bit"
    ["ErrorInfo"]=>
    string(43) "SMTP Error: Could not connect to SMTP host."
    ["From"]=>
    string(23) "noreply@thatmlmbeat.com"
    ["FromName"]=>
    string(30) "thatMLMbeat | MLM Success Blog"
    ["Sender"]=>
    string(0) ""
    ["Subject"]=>
    string(51) "WP Mail SMTP: Test mail to georgefourie@bigpond.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) ""
    ["Version"]=>
    string(5) "2.0.4"
    ["ConfirmReadingTo"]=>
    string(0) ""
    ["Hostname"]=>
    string(15) "thatmlmbeat.com"
    ["MessageID"]=>
    string(0) ""
    ["Host"]=>
    string(14) "smtp.gmail.com"
    ["Port"]=>
    string(3) "465"
    ["Helo"]=>
    string(0) ""
    ["SMTPSecure"]=>
    string(3) "ssl"
    ["SMTPAuth"]=>
    bool(true)
    ["Username"]=>
    string(21) "thatxxxxxxxx@gmail.com"
    ["Password"]=>
    string(11) "xxxxxx"
    ["Timeout"]=>
    int(10)
    ["SMTPDebug"]=>
    int(2)
    ["SMTPKeepAlive"]=>
    bool(false)
    ["SingleTo"]=>
    bool(false)
    ["smtp"]=>
    object(SMTP)#1936 (7) {
    ["SMTP_PORT"]=>
    int(25)
    ["CRLF"]=>
    string(2) "
    "
    ["do_debug"]=>
    int(2)
    ["do_verp"]=>
    bool(false)
    ["smtp_conn"]=>
    bool(false)
    ["error"]=>
    array(3) {
    ["error"]=>
    string(27) "Failed to connect to server"
    ["errno"]=>
    int(110)
    ["errstr"]=>
    string(20) "Connection timed out"
    }
    ["helo_rply"]=>
    NULL
    }
    ["to"]=>
    array(1) {
    [0]=>
    array(2) {
    [0]=>
    string(24) "geoxxxxxxxx@bigpond.com"
    [1]=>
    string(0) ""
    }
    }
    ["cc"]=>
    array(0) {
    }
    ["bcc"]=>
    array(0) {
    }
    ["ReplyTo"]=>
    array(0) {
    }
    ["attachment"]=>
    array(0) {
    }
    ["CustomHeader"]=>
    array(0) {
    }
    ["message_type"]=>
    string(5) "plain"
    ["boundary"]=>
    array(2) {
    [1]=>
    string(35) "b1_b7839d400fc024d6d500d84a23639f19"
    [2]=>
    string(35) "b2_b7839d400fc024d6d500d84a23639f19"
    }
    ["language"]=>
    array(13) {
    ["mailer_not_supported"]=>
    string(25) " mailer is not supported."
    ["provide_address"]=>
    string(55) "You must provide at least one mailer is not supported."
    ["execute"]=>
    string(19) "Could not execute: "
    ["instantiate"]=>
    string(36) "Could not instantiate mail function."
    ["authenticate"]=>
    string(35) "SMTP Error: Could not authenticate."
    ["from_failed"]=>
    string(35) "The following From address failed: "
    ["data_not_accepted"]=>
    string(30) "SMTP Error: Data not accepted."
    ["recipients_failed"]=>
    string(56) "SMTP Error: The following SMTP Error: Data not accepted."
    ["connect_host"]=>
    string(43) "SMTP Error: Could not connect to SMTP host."
    ["file_access"]=>
    string(23) "Could not access file: "
    ["file_open"]=>
    string(33) "File Error: Could not open file: "
    ["encoding"]=>
    string(18) "Unknown encoding: "
    ["signing"]=>
    string(15) "Signing Error: "
    }
    ["error_count"]=>
    int(1)
    ["LE"]=>
    string(1) "
    "
    ["sign_cert_file"]=>
    string(0) ""
    ["sign_key_file"]=>
    string(0) ""
    ["sign_key_pass"]=>
    string(0) ""
    }

    The SMTP debugging output is shown below:

    SMTP -> ERROR: Failed to connect to server: Connection timed out (110)

    Then, I tried to setup with my site email account, I get this:

    Test Message Sent

    The result was:

    bool(false)

    The full debugging output is shown below:

    object(PHPMailer)#1957 (45) {
    ["Priority"]=>
    int(3)
    ["CharSet"]=>
    string(5) "UTF-8"
    ["ContentType"]=>
    string(10) "text/plain"
    ["Encoding"]=>
    string(4) "8bit"
    ["ErrorInfo"]=>
    string(43) "SMTP Error: Could not connect to SMTP host."
    ["From"]=>
    string(23) "noreply@thatmlmbeat.com"
    ["FromName"]=>
    string(30) "thatMLMbeat | MLM Success Blog"
    ["Sender"]=>
    string(0) ""
    ["Subject"]=>
    string(48) "WP Mail SMTP: Test mail to txxxxxxxxxxxx@gmail.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) ""
    ["Version"]=>
    string(5) "2.0.4"
    ["ConfirmReadingTo"]=>
    string(0) ""
    ["Hostname"]=>
    string(15) "thatmlmbeat.com"
    ["MessageID"]=>
    string(0) ""
    ["Host"]=>
    string(20) "mail.thatmlmbeat.com"
    ["Port"]=>
    string(3) "110"
    ["Helo"]=>
    string(0) ""
    ["SMTPSecure"]=>
    string(3) "ssl"
    ["SMTPAuth"]=>
    bool(true)
    ["Username"]=>
    string(22) "george+zxxxxxxxxeat.com"
    ["Password"]=>
    string(11) "xxxxxxxxxx"
    ["Timeout"]=>
    int(10)
    ["SMTPDebug"]=>
    int(2)
    ["SMTPKeepAlive"]=>
    bool(false)
    ["SingleTo"]=>
    bool(false)
    ["smtp"]=>
    object(SMTP)#1936 (7) {
    ["SMTP_PORT"]=>
    int(25)
    ["CRLF"]=>
    string(2) "
    "
    ["do_debug"]=>
    int(2)
    ["do_verp"]=>
    bool(false)
    ["smtp_conn"]=>
    bool(false)
    ["error"]=>
    array(3) {
    ["error"]=>
    string(27) "Failed to connect to server"
    ["errno"]=>
    int(0)
    ["errstr"]=>
    string(0) ""
    }
    ["helo_rply"]=>
    NULL
    }
    ["to"]=>
    array(1) {
    [0]=>
    array(2) {
    [0]=>
    string(21) "thxxxxxxxx@gmail.com"
    [1]=>
    string(0) ""
    }
    }
    ["cc"]=>
    array(0) {
    }
    ["bcc"]=>
    array(0) {
    }
    ["ReplyTo"]=>
    array(0) {
    }
    ["attachment"]=>
    array(0) {
    }
    ["CustomHeader"]=>
    array(0) {
    }
    ["message_type"]=>
    string(5) "plain"
    ["boundary"]=>
    array(2) {
    [1]=>
    string(35) "b1_52a81f7e82795d60c097967bbc12a6ff"
    [2]=>
    string(35) "b2_52a81f7e82795d60c097967bbc12a6ff"
    }
    ["language"]=>
    array(13) {
    ["mailer_not_supported"]=>
    string(25) " mailer is not supported."
    ["provide_address"]=>
    string(55) "You must provide at least one mailer is not supported."
    ["execute"]=>
    string(19) "Could not execute: "
    ["instantiate"]=>
    string(36) "Could not instantiate mail function."
    ["authenticate"]=>
    string(35) "SMTP Error: Could not authenticate."
    ["from_failed"]=>
    string(35) "The following From address failed: "
    ["data_not_accepted"]=>
    string(30) "SMTP Error: Data not accepted."
    ["recipients_failed"]=>
    string(56) "SMTP Error: The following SMTP Error: Data not accepted."
    ["connect_host"]=>
    string(43) "SMTP Error: Could not connect to SMTP host."
    ["file_access"]=>
    string(23) "Could not access file: "
    ["file_open"]=>
    string(33) "File Error: Could not open file: "
    ["encoding"]=>
    string(18) "Unknown encoding: "
    ["signing"]=>
    string(15) "Signing Error: "
    }
    ["error_count"]=>
    int(1)
    ["LE"]=>
    string(1) "
    "
    ["sign_cert_file"]=>
    string(0) ""
    ["sign_key_file"]=>
    string(0) ""
    ["sign_key_pass"]=>
    string(0) ""
    }

    The SMTP debugging output is shown below:

    SMTP -> ERROR: Failed to connect to server: (0)

  • georgef

    Yes, I tried with Gmail. I had a developer fix the confirmation email. Mentioned that it should go from noreply@email.com, but it always went from admin@email.com and that is what is setup in the wpmu options.

    Although confirmation emails work, I still dont get confirmation emails from the contact form, for comments or notifications of members signing up.

    Don't know where else to look here.

    Let me get onto the SMTP settings thanks.