• Resolved webchefonline

    (@webchefonline)


    Hi,

    sending emails with Caldera Forms doesn’t work. Apparently username/password cannot be provided, although they are stored in settings correctly. Sending a test email via WP Mail SMTP does work, so the settings are correct. But for some reason, they aren’t being passed when sending from Caldera Forms.

    debug_log

    2020-04-13 22:23:14 Connection: opening to ssl://mail.amsterdamster.com.ua:465, timeout=300, options=array ()

    2020-04-13 22:23:14 Connection: opened

    2020-04-13 22:23:14 SERVER -> CLIENT: 220-sr48.hostlife.net ESMTP Exim 4.93 #2 Tue, 14 Apr 2020 01:23:14 +0300 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.

    2020-04-13 22:23:14 CLIENT -> SERVER: EHLO amsterdamster.com.ua

    2020-04-13 22:23:14 SERVER -> CLIENT: 250-sr48.hostlife.net Hello amsterdamster.com.ua [195.16.91.2]250-SIZE 52428800250-8BITMIME250-PIPELINING250-AUTH PLAIN LOGIN250 HELP

    2020-04-13 22:23:14 CLIENT -> SERVER: AUTH LOGIN

    2020-04-13 22:23:14 SERVER -> CLIENT: 334 VXNlcm5hbWU6

    2020-04-13 22:23:14 CLIENT -> SERVER:

    2020-04-13 22:23:16 SERVER -> CLIENT: 535 Incorrect authentication data

    2020-04-13 22:23:16 SMTP ERROR: Username command failed: 535 Incorrect authentication data

    SMTP Error: Could not authenticate.

    2020-04-13 22:23:16 CLIENT -> SERVER: QUIT

    2020-04-13 22:23:16 SERVER -> CLIENT: 221 sr48.hostlife.net closing connection

    2020-04-13 22:23:16 Connection: closed

    SMTP Error: Could not authenticate.

    SMTP Error: Could not authenticate.WPMailSMTP\MailCatcher Object
    (
    [action_function] => \WPMailSMTP\Processor::send_callback
    [Version] => 5.2.27
    [Priority] =>
    [CharSet] => UTF-8
    [ContentType] => text/html
    [Encoding] => 8bit
    [ErrorInfo] => SMTP Error: Could not authenticate.
    [From] => info@amsterdamster.com.ua
    [FromName] => Amster Damster
    [Sender] => info@amsterdamster.com.ua
    [ReturnPath] =>
    [Subject] => Нове замовлення від <>
    [Body] =>

    [AltBody] =>
    [Ical] =>
    [MIMEBody:protected] =>

    [MIMEHeader:protected] => Date: Mon, 13 Apr 2020 22:23:14 +0000
    To: info@amsterdamster.com.ua
    From: Amster Damster
    Reply-To: info@amsterdamster.com.ua
    Subject: =?UTF-8?B?0J3QvtCy0LUg0LfQsNC80L7QstC70LXQvdC90Y8g0LLRltC0ICA8Pg==?=
    Message-ID:
    X-Mailer: WPMailSMTP/Mailer/smtp 1.9.0
    MIME-Version: 1.0
    Content-Type: text/html; charset=UTF-8
    Content-Transfer-Encoding: 8bit

    [mailHeader:protected] =>
    [WordWrap] => 0
    [Mailer] => smtp
    [Sendmail] => /usr/sbin/sendmail
    [UseSendmailOptions] => 1
    [PluginDir] =>
    [ConfirmReadingTo] =>
    [Hostname] =>
    [MessageID] =>
    [MessageDate] =>
    [Host] => mail.amsterdamster.com.ua
    [Port] => 465
    [Helo] =>
    [SMTPSecure] => ssl
    [SMTPAutoTLS] => 1
    [SMTPAuth] => 1
    [SMTPOptions] => Array
    (
    )

    [Username] =>
    [Password] =>
    [AuthType] =>
    [Realm] =>
    [Workstation] =>
    [Timeout] => 300
    [SMTPDebug] => 3
    [Debugoutput] => html
    [SMTPKeepAlive] =>
    [SingleTo] =>
    [SingleToArray] => Array
    (
    )

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

    [DKIM_selector] =>
    [DKIM_identity] =>
    [DKIM_passphrase] =>
    [DKIM_domain] =>
    [DKIM_private] =>
    [DKIM_private_string] =>
    [XMailer] => WPMailSMTP/Mailer/smtp 1.9.0
    [smtp:protected] => SMTP Object
    (
    [Version] => 5.2.27
    [SMTP_PORT] => 25
    [CRLF] =>

    [do_debug] => 3
    [Debugoutput] => html
    [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 (.*)/
    )

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

    [helo_rply:protected] =>
    [server_caps:protected] =>
    [last_reply:protected] => 221 sr48.hostlife.net closing connection

    )

    [to:protected] => Array
    (
    [0] => Array
    (
    [0] => info@amsterdamster.com.ua
    [1] =>
    )

    )

    [cc:protected] => Array
    (
    )

    [bcc:protected] => Array
    (
    [0] => Array
    (
    [0] => artem.manhattan@gmail.com
    [1] =>
    )

    [1] => Array
    (
    [0] => webchef.online@gmail.com
    [1] =>
    )

    )

    [ReplyTo:protected] => Array
    (
    [info@amsterdamster.com.ua] => Array
    (
    [0] => info@amsterdamster.com.ua
    [1] =>
    )

    )

    [all_recipients:protected] => Array
    (
    [info@amsterdamster.com.ua] => 1
    [artem.manhattan@gmail.com] => 1
    [webchef.online@gmail.com] => 1
    )

    [RecipientsQueue:protected] => Array
    (
    )

    [ReplyToQueue:protected] => Array
    (
    )

    [attachment:protected] => Array
    (
    )

    [CustomHeader:protected] => Array
    (
    )

    [lastMessageID:protected] =>
    [message_type:protected] => plain
    [boundary:protected] => Array
    (
    [1] => b1_f7cbd9f57ea4d4b239478f633e0ee613
    [2] => b2_f7cbd9f57ea4d4b239478f633e0ee613
    [3] => b3_f7cbd9f57ea4d4b239478f633e0ee613
    )

    [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] => f7cbd9f57ea4d4b239478f633e0ee613
    )

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Gregor Capuder

    (@capuderg)

    Hi @webchefonline,

    since the “test email” works for you, this means that the SMTP config you are using is correct and the SMTP server accepted your details and delivered the email to the recipient.

    I know the error in above log states “SERVER -> CLIENT: 535 Incorrect authentication data”, but before that there is another error:

    SERVER -> CLIENT: 220-sr48.hostlife.net ESMTP Exim 4.93 #2 Tue, 14 Apr 2020 01:23:14 +0300 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.

    I see that you have some email recipients set in the BCC fields… Some SMTP servers do not allow this field to be used since it’s also used in spam emails.

    I would advise you to remove those email addresses from the BCC field in your form and test the form again.

    And I would also recommend you to enable the “Force from email” checkbox in the WP Mail SMTP plugin settings, if not already enabled. This will ensure that the email address you set in the “From email” will be used in all emails sent from your WP and that will improve the success rate of sending email from your WP site.

    Have a nice day!

    Hi @webchefonline – We haven’t heard from you in about a week, so I’m going to go ahead and mark this ticket resolved. If you still have questions, though, please feel welcome to continue the conversation.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Authentication Error (Caldera Forms)’ is closed to new replies.