Quantcast
Channel: WordPress.org Forums » [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin] Support
Viewing all articles
Browse latest Browse all 5029

SMTP Error: Could not authenticate – only for password reset

$
0
0

Replies: 3

Hello! We’re using the free version of WP Mail SMTP and just ran into an issue. One customer tried to get a password reset email, but never received it. I did some digging and saw that those emails couldn’t be sent. All other emails coming from WordPress / WooCommerce work just fine (WP Mail test email, WooCommerce mails such as order confirmation, account creation, payment confirmation, etc.). Only the password reset email can’t be sent due to SMTP Error: Could not authenticate.

We are using Office365 via the custom configuration (SMTP-Server: smtp-mail.outlook.com, TLS, Port 587, SMTP Username set via GUI, Password defined in wp-config.php. I tried changing the Office365 password, but the issue prevails.

Log:

Mailer: Other SMTP-Connection
SMTP Error: Could not authenticate.
Debug-Output:
Connection: opening to smtp-mail.outlook.com:587, timeout=300, options=array()
Connection: opened
SERVER -> CLIENT: 220 FR0P281CA0269.outlook.office365.com Microsoft ESMTP MAIL Service ready at Tue, 27 Feb 2024 11:51:36 +0000
CLIENT -> SERVER: EHLO www.domain.com
SERVER -> CLIENT: 250-FR0P281CA0269.outlook.office365.com Hello [89.107.184.60]
250-SIZE 157286400
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250 SMTPUTF8
CLIENT -> SERVER: STARTTLS
SERVER -> CLIENT: 220 2.0.0 SMTP server ready
CLIENT -> SERVER: EHLO www.domain.com
SERVER -> CLIENT: 250-FR0P281CA0269.outlook.office365.com Hello [89.107.184.60]
250-SIZE 157286400
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-AUTH LOGIN XOAUTH2
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250 SMTPUTF8
CLIENT -> SERVER: AUTH LOGIN
SERVER -> CLIENT: 334 XXXXXX
CLIENT -> SERVER: [credentials hidden]
SERVER -> CLIENT: 334 XXXXXX
CLIENT -> SERVER: [credentials hidden]
SERVER -> CLIENT: 535 5.7.139 Authentication unsuccessful, the user credentials were incorrect. [FR0P281CA0269.DEUP281.PROD.OUTLOOK.COM 2024-02-27T11:51:43.516Z 08DC35A09D038FD5]
SMTP ERROR: Password command failed: 535 5.7.139 Authentication unsuccessful, the user credentials were incorrect. [FR0P281CA0269.DEUP281.PROD.OUTLOOK.COM 2024-02-27T11:51:43.516Z 08DC35A09D038FD5]
SMTP Error: Could not authenticate.
CLIENT -> SERVER: QUIT
SERVER -> CLIENT: 221 2.0.0 Service closing transmission channel
Connection: closed
SMTP Error: Could not authenticate.
WooCommerce
/home/www/domain.com/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php (line: 704)

Backtrace:
[0] wp_mail called at [/home/www/domain.com/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php:704]
[1] WC_Email->send called at [/home/www/domain.com/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-reset-password.php:114]
[2] WC_Email_Customer_Reset_Password->trigger called at [/home/www/domain.com/wp-includes/class-wp-hook.php:324]
[3] WP_Hook->apply_filters called at [/home/www/domain.com/wp-includes/class-wp-hook.php:348]
[4] WP_Hook->do_action called at [/home/www/domain.com/wp-includes/plugin.php:517]
[5] do_action called at [/home/www/domain.com/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-my-account.php:343]
[6] WC_Shortcode_My_Account::retrieve_password called at [/home/www/domain.com/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php:1019]
[7] WC_Form_Handler::process_lost_password called at [/home/www/domain.com/wp-includes/class-wp-hook.php:324]
[8] WP_Hook->apply_filters called at [/home/www/domain.com/wp-includes/class-wp-hook.php:348]
[9] WP_Hook->do_action called at [/home/www/domain.com/wp-includes/plugin.php:517]
[10] do_action called at [/home/www/domain.com/wp-settings.php:665]
[11] require_once called at [/home/www/domain.com/wp-config.php:97]
[12] require_once called at [/home/www/domain.com/wp-load.php:50]
[13] require_once called at [/home/www/domain.com/wp-blog-header.php:13]
[14] require called at [/home/www/domain.com/index.php:17]

System information

`
### WordPress Environment ###

WordPress address (URL): https://www.domain.com
Site address (URL): https://www.domain.com
WC Version: 8.6.1
REST API Version: ✔ 8.6.1
WC Blocks Version: ✔ 11.8.0-dev
Action Scheduler Version: ✔ 3.7.1
Log Directory Writable: ✔
WP Version: 6.4.3
WP Multisite: –
WP Memory Limit: 1 GB
WP Debug Mode: –
WP Cron: ✔
Language: de_DE_formal
External object cache: –

### Server Environment ###

Server Info: Apache
PHP Version: 8.1.27
PHP Post Max Size: 21 MB
PHP Time Limit: 30
PHP Max Input Vars: 1000
cURL Version: 7.74.0
OpenSSL/1.1.1w

SUHOSIN Installed: –
MySQL Version: 10.11.7-MariaDB-1:10.11.7+maria~deb11
Max Upload Size: 20 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔


### Security ###

Secure connection (HTTPS): ✔
Hide errors from visitors: ✔

### Active Plugins (30) ###

WPini Update Toolkit: by WPini – 5.0
WP Image CAPTCHA: by WP Image CAPTCHA – 3.3.13
Contact Form 7: by Takayuki Miyoshi – 5.8.7
Custom Order Numbers for WooCommerce: by Tyche Softwares – 1.7.0
Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.5
Avada Builder: by ThemeFusion – 3.11.2
Avada Core: by ThemeFusion – 5.11.2
3D FlipBook - Lite Edition: by iberezansky – 1.15.4
MainWP Child: by MainWP – 4.6
One Stop Shop for WooCommerce: by vendidero – 1.6.1
PayPal for WooCommerce: by Angell EYE – 1.5.7
Post Types Order: by Nsp Code – 2.1.8
Real Cookie Banner (Free): by devowl.io – 4.4.1
The Events Calendar: by The Events Calendar – 5.16.1.1
The Events Calendar: by The Events Calendar – 5.16.1.1
UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
DavidAnderson – 1.24.1

User Role Editor: by Vladimir Garagulya – 4.64.2
WebP Express: by Bjørn Rosell – 0.25.8
WooCommerce Weight Based Shipping: by weightbasedshipping.com – 5.7.1
WooCommerce Bookstore: by WPini – 3.0
Country Based Payments for WooCommerce: by Ivan Paulin – 1.5
WooCommerce Stripe Gateway: by WooCommerce – 7.9.3
Germanized for WooCommerce: by vendidero – 3.15.6
WooCommerce Shipping & Tax: by WooCommerce – 2.5.1
WooCommerce: by Automattic – 8.6.1
Yoast SEO: by Team Yoast – 21.7
WP All Import Pro: by Soflyy – 4.8.1
WP Mail SMTP: by WP Mail SMTP – 3.11.1
WP YouTube Lyte: by Frank Goossens (futtta) – 1.7.23
WP All Import - WooCommerce Import Add-On Pro: by Soflyy – 3.3.7

### Theme ###

Name: Avada Child
Version: 1.0.0
Author URL: https://theme-fusion.com
Child Theme: ✔
Parent Theme Name: Avada
Parent Theme Version: 7.11.2
Parent Theme Author URL: https://themeforest.net/user/ThemeFusion
WooCommerce Support: ✔

### Templates ###

Overrides: Avada/woocommerce/cart/cart.php
Avada/woocommerce/checkout/form-pay.php
Avada/woocommerce/checkout/review-order.php
Avada/woocommerce/checkout/thankyou.php
Avada/woocommerce/loop/loop-start.php
Avada/woocommerce/single-product/add-to-cart/variable.php
Avada/woocommerce/single-product/short-description.php
Avada/woocommerce/single-product/tabs/additional-information.php
Avada/woocommerce/single-product/tabs/description.php

Do you have any idea what could cause this?

Thanks

Stefan


Viewing all articles
Browse latest Browse all 5029

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>