• Resolved opiecomp

    (@opiecomp)


    I have 2 sites… One that is working with your plugin (v0.10.1) and one that is not (v0.11.2). That is the only difference between the 2 sites. On the one that is not working we have dropped back to using the PHP mail() function, but we’re losing emails to spam folders at Google…

    I see a few reports here that things stopped working for others. One mentioned that they downgraded and things started working again. Is anyone looking into the issue??

    Here is the output of my test with SMTP enabled trying to connect to SendGrid…

    ——————————————————————–

    Test Message Sent

    The result was:

    bool(false)

    The full debugging output is shown below:

    PHPMailer Object
    (
    [Version] => 5.2.22
    [Priority] =>
    [CharSet] => UTF-8
    [ContentType] => text/plain
    [Encoding] => 7bit
    [ErrorInfo] => SMTP Error: Could not connect to SMTP host.
    [From] => [email protected]
    [FromName] => WordPress
    [Sender] =>
    [ReturnPath] =>
    [Subject] => WP Mail SMTP: Test mail to [email protected]
    [Body] => This is a test email generated by the WP Mail SMTP WordPress plugin.
    [AltBody] =>
    [Ical] =>
    [MIMEBody:protected] => This is a test email generated by the WP Mail SMTP WordPress plugin.

    [MIMEHeader:protected] => Date: Tue, 12 Dec 2017 02:07:08 +0000
    To: <test email>
    From: WordPress
    Subject: WP Mail SMTP: Test mail to <test email>
    Message-ID:
    X-Mailer: PHPMailer 5.2.22 (https://github.com/PHPMailer/PHPMailer)
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8

    [mailHeader:protected] =>
    [WordWrap] => 0
    [Mailer] => smtp
    [Sendmail] => /usr/sbin/sendmail
    [UseSendmailOptions] => 1
    [PluginDir] =>
    [ConfirmReadingTo] =>
    [Hostname] =>
    [MessageID] =>
    [MessageDate] => Tue, 12 Dec 2017 02:07:08 +0000
    [Host] => smtp.sendgrid.net
    [Port] => 587
    [Helo] =>
    [SMTPSecure] => tls
    [SMTPAutoTLS] => 1
    [SMTPAuth] => 1
    [SMTPOptions] => Array
    (
    )

    [Username] => <our username>
    [Password] => <our password>
    [AuthType] =>
    [Realm] =>
    [Workstation] =>
    [Timeout] => 300
    [SMTPDebug] => 0
    [Debugoutput] => echo
    [SMTPKeepAlive] =>
    [SingleTo] =>
    [SingleToArray] => Array
    (
    )

    [do_verp] =>
    [AllowEmpty] =>
    [LE] =>

    [DKIM_selector] =>
    [DKIM_identity] =>
    [DKIM_passphrase] =>
    [DKIM_domain] =>
    [DKIM_private] =>
    [DKIM_private_string] =>
    [action_function] =>
    [XMailer] =>
    [smtp:protected] => SMTP Object
    (
    [Version] => 5.2.22
    [SMTP_PORT] => 25
    [CRLF] =>

    [do_debug] => 0
    [Debugoutput] => echo
    [do_verp] =>
    [Timeout] => 300
    [Timelimit] => 300
    [smtp_transaction_id_patterns:protected] => Array
    (
    [exim] => /[0-9]{3} OK id=(.*)/
    [sendmail] => /[0-9]{3} 2.0.0 (.*) Message/
    [postfix] => /[0-9]{3} 2.0.0 Ok: queued as (.*)/
    )

    [smtp_conn:protected] =>
    [error:protected] => Array
    (
    [error] =>
    [detail] =>
    [smtp_code] =>
    [smtp_code_ex] =>
    )

    [helo_rply:protected] =>
    [server_caps:protected] =>
    [last_reply:protected] => 221 <the domain> closing connection

    )

    [to:protected] => Array
    (
    [0] => Array
    (
    [0] => <test email>
    [1] =>
    )

    )

    [cc:protected] => Array
    (
    )

    [bcc:protected] => Array
    (
    )

    [ReplyTo:protected] => Array
    (
    )

    [all_recipients:protected] => Array
    (
    [<test email>] => 1
    )

    [RecipientsQueue:protected] => Array
    (
    )

    [ReplyToQueue:protected] => Array
    (
    )

    [attachment:protected] => Array
    (
    )

    [CustomHeader:protected] => Array
    (
    )

    [lastMessageID:protected] =>
    [message_type:protected] => plain
    [boundary:protected] => Array
    (
    [1] => b1_e149de44f434a4008c844c8d5075ba9a
    [2] => b2_e149de44f434a4008c844c8d5075ba9a
    [3] => b3_e149de44f434a4008c844c8d5075ba9a
    )

    [language:protected] => Array
    (
    [authenticate] => SMTP Error: Could not authenticate.
    [connect_host] => SMTP Error: Could not connect to SMTP host.
    [data_not_accepted] => SMTP Error: data not accepted.
    [empty_message] => Message body empty
    [encoding] => Unknown encoding:
    [execute] => Could not execute:
    [file_access] => Could not access file:
    [file_open] => File Error: Could not open file:
    [from_failed] => The following From address failed:
    [instantiate] => Could not instantiate mail function.
    [invalid_address] => Invalid address:
    [mailer_not_supported] => mailer is not supported.
    [provide_address] => You must provide at least one recipient email address.
    [recipients_failed] => SMTP Error: The following recipients failed:
    [signing] => Signing Error:
    [smtp_connect_failed] => SMTP connect() failed.
    [smtp_error] => SMTP server error:
    [variable_set] => Cannot set or reset variable:
    [extension_missing] => Extension missing:
    )

    [error_count:protected] => 2
    [sign_cert_file:protected] =>
    [sign_key_file:protected] =>
    [sign_extracerts_file:protected] =>
    [sign_key_pass:protected] =>
    [exceptions:protected] => 1
    [uniqueid:protected] => e149de44f434a4008c844c8d5075ba9a
    )

    The SMTP debugging output is shown below:

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jared Atchison

    (@jaredatch)

    If you updated and are now experiencing issues, please see the details on this post:

    https://www.ads-software.com/support/topic/v-1-0-0/page/2/#post-9776623

    If contains more information on the issue as well as a potential fix.

    Plugin Author Slava Abakumov

    (@slaffik)

    The new 1.1.0 version was released, and it has a new “Auto TLS” option for SMTP mailer, that will allow to test email sending with this option enabled and disabled.
    Some servers require it enabled, while others – disabled.

    I’m marking this topic as resolved in the meantime.

    I’m using 1.1.0 and I don’t see that option for Auto TLS.

    I have a problem with Buddypress activation emails not being sent at all.

    I have a Ninja Forms contact form set up, and that works, but in the email header it shows it’s using PHPMailer 5.2.22, not Gmail.

    The test email from WP Mail SMTP works with Gmail, I can see that in the header as well.

    Plugin Author Slava Abakumov

    (@slaffik)

    @jebus

    Removed reply, posted that in your separate thread.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘No SMTP Mails Sent’ is closed to new replies.