• Resolved stob8544

    (@stob8544)


    Hello !

    I’m trying to use this plugin but no emails are send. I’m using last version of WP Mail SMTP plugin.

    Thanks for your help.

    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 authenticate.
        [From] => [email protected]
        [FromName] => Cloud Vapor
        [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: Fri, 3 Nov 2017 09:59:18 +0000
    To: [email protected]
    From: Cloud Vapor 
    Subject: WP Mail SMTP: Test mail to [email protected]
    Message-ID: <[email protected]>
    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] => Fri, 3 Nov 2017 09:59:18 +0000
        [Host] => smtp.phpnet.org
        [Port] => 465
        [Helo] => 
        [SMTPSecure] => ssl
        [SMTPAutoTLS] => 1
        [SMTPAuth] => 1
        [SMTPOptions] => Array
            (
            )
    
        [Username] => xxxxxxxxx
        [Password] => xxxxxxxxx
        [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 smtp.phpnet.org closing connection
    
            )
    
        [to:protected] => Array
            (
                [0] => Array
                    (
                        [0] => [email protected]
                        [1] => 
                    )
    
            )
    
        [cc:protected] => Array
            (
            )
    
        [bcc:protected] => Array
            (
            )
    
        [ReplyTo:protected] => Array
            (
            )
    
        [all_recipients:protected] => Array
            (
                [[email protected]] => 1
            )
    
        [RecipientsQueue:protected] => Array
            (
            )
    
        [ReplyToQueue:protected] => Array
            (
            )
    
        [attachment:protected] => Array
            (
            )
    
        [CustomHeader:protected] => Array
            (
            )
    
        [lastMessageID:protected] => <[email protected]>
        [message_type:protected] => plain
        [boundary:protected] => Array
            (
                [1] => b1_57459ff4e5041866724e9927ee7f872d
                [2] => b2_57459ff4e5041866724e9927ee7f872d
                [3] => b3_57459ff4e5041866724e9927ee7f872d
            )
    
        [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] => 57459ff4e5041866724e9927ee7f872d
    )
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Slava Abakumov

    (@slaffik)

    You are sending from @cloudvapor.fr to @gmail.com. Gmail might block such requests.
    Try to send to your own email.

    If that doesn’t help:
    Try change the port to 567 and Encryption to TLS. I see that SMTPAutoTLS is on, which means that it tries TLS which is supported by the server.

    If that doesn’t help as well:
    Put this snippet into the functions.php of your child theme:
    https://gist.github.com/slaFFik/930aa9c21c0e8f5ffb0ff4c9090aa1d4

    Hi rather than create a new topic, I’ve tried the above (got the same error) and still getting the same response. Any ideas? (I’ve changed the functions.php as well and still no joy.

    Thanks!

    Thread Starter stob8544

    (@stob8544)

    For me it was a password’s error. Thanks to my client ..

    I put $mail->SMTPDebug = 3 in plugin file wp_mail_smtp.php. I got more informations and understood where my error came from.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[authenticate] => SMTP Error: Could not authenticate.’ is closed to new replies.