• Resolved alma07

    (@alma07)


    Hi,

    I have a error SMTP Error. It say “SMTP connect() failed”
    I was using Amazon hosting and it worked fine. After, I switched to Neubox and it stopped working.

    Can you help me solve it?

    Mensaje de prueba enviado
    El resultado fue:
    bool(false)
    Abajo se muestra el resultado de depuración completo:
    PHPMailer Object
    (
    [Version] => 5.2.22
    [Priority] =>
    [CharSet] => UTF-8
    [ContentType] => text/plain
    [Encoding] => 8bit
    [ErrorInfo] => SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
    [From] => [email protected]
    [FromName] => Nación Fílmica
    [Sender] => [email protected]
    [ReturnPath] =>
    [Subject] => WP Mail SMTP: Enviar correo electrónico de prueba a [email protected]
    [Body] => Este es un correo electrónico de prueba generado por el plugin WordPress WP Mail SMTP
    [AltBody] =>
    [Ical] =>
    [MIMEBody:protected] => Este es un correo electrónico de prueba generado por el plugin WordPress WP Mail SMTP

    [MIMEHeader:protected] => Date: Wed, 22 Nov 2017 00:04:18 +0000
    To: [email protected]
    From: =?UTF-8?Q?Naci=C3=B3n_F=C3=ADlmica?=
    Subject: =?UTF-8?Q?WP_Mail_SMTP:[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
    Content-Transfer-Encoding: 8bit

    [mailHeader:protected] =>
    [WordWrap] => 0
    [Mailer] => smtp
    [Sendmail] => /usr/sbin/sendmail
    [UseSendmailOptions] => 1
    [PluginDir] =>
    [ConfirmReadingTo] =>
    [Hostname] =>
    [MessageID] =>
    [MessageDate] => Wed, 22 Nov 2017 00:04:18 +0000
    [Host] => smtp.gmail.com
    [Port] => 465
    [Helo] =>
    [SMTPSecure] => ssl
    [SMTPAutoTLS] => 1
    [SMTPAuth] => 1
    [SMTPOptions] => Array
    (
    )

    [Username] => [email protected]
    [Password] => xxxx
    [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] =>
    )

    [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_5edc230cf141250a3f03ae951256efee
    [2] => b2_5edc230cf141250a3f03ae951256efee
    [3] => b3_5edc230cf141250a3f03ae951256efee
    )

    [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] => 5edc230cf141250a3f03ae951256efee
    )
    El resultado de depuración de SMTP se muestra abajo:

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • PixieMan

    (@pixieman)

    Get the same error as you trying to sent using AWS SES. TThis worked fine for the last 6 months or so but is now failing.

    Plugin Author Slava Abakumov

    (@slaffik)

    It’s not related to the plugin itself, but to the credentials of the SMTP host/port or your hosting server settings.
    Please refer to this page: https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting – it might help you to identify the issue.

    Unfortunately, that’s all that I can do for you, as it’s out of scope of the plugin.

    PixieMan

    (@pixieman)

    Thanks for the feedback Slava, just curious as to why it all of a sudden stopped working.

    Plugin Author Slava Abakumov

    (@slaffik)

    Limits, thresholds, changed credentials, changed access level for those credentials – lots of options.

    Have you got it to resolve yet? I’m facing the same issue at my end too.

    Thread Starter alma07

    (@alma07)

    Hi

    Thanks to everyone for your replies!

    I still can’t solve it. I use another account that I created with my cPanel. It work, but not with everything.

    • This reply was modified 6 years, 11 months ago by alma07.

    Alma: I fixed my Gmail problem by enabling “access for less secure apps” in my Google account. Never had to do this before the plugin was updated. Hope this helps someone else.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘SMTP connect() failed’ is closed to new replies.