[WordPress] Fixed Email Sending Issue with WP Mail SMTP Version 1.7.0
I’ll share how I successfully resolved an issue where emails couldn’t be sent after updating the WordPress plugin WP Mail SMTP to version 1.7.0.
When submitting through the contact form prepared with Contact Form 7 + WP Mail SMTP, the following error message was displayed:
メッセージの送信に失敗しました。間をおいてもう一度お試しいただくか、別の手段で管理者にお問い合わせ下さい。 (Message sending failed. Please try again later or contact the administrator through other means.)
From the /wp-admin/admin.php?page=wp-mail-smtp&tab=test page, you can [Send Test Email] to check if emails can be sent via WP Mail SMTP.
The error message when [Send Test Email] failed was as follows:
There was a problem while sending the test email.An issue was detected.
This means your test email was unable to be sent.
Typically this error is returned for one of the following reasons:
- Plugin settings are incorrect (wrong SMTP settings, invalid Mailer configuration, etc).
- Your web server is blocking the connection.
- Your host is rejecting the connection.
Recommended next steps: Triple check the plugin settings, consider reconfiguring to make sure everything is correct (eg bad copy and paste). Contact your web hosting provider and ask them to verify your server can make outside connections. Additionally, ask them if a firewall or security policy may be preventing the connection - many shared hosts block certain ports. Note: this is the most common cause of this issue. Try using a different mailer. Need support? WP Mail SMTP is a free plugin, and the team behind WPForms maintains it to give back to the WordPress community.
To access our world class support, please upgrade to WP Mail SMTP Pro. Along with getting expert support, you will also get Notification controls, Email Logging, and integrations for Amazon SES, Office 365, and Outlook.com.
Additionally, you can take advantage of our White Glove Setup. Sit back and relax while we handle everything for you! If you simply don’t have time or maybe you feel a bit in over your head - we got you covered.
As a valued WP Mail SMTP user, you will get 20% off regular pricing, automatically applied at checkout!
Alternatively, we also offer limited support on the WordPress.org support forums. You can create a support thread there, but please understand that free support is not guaranteed and is limited to simple issues. If you have an urgent or complex issue, then please consider upgrading to WP Mail SMTP Pro to access our priority support ticket system.
Click here to view the full Error Log for debugging
Thinking “Did the settings disappear when I updated WP Mail SMTP version?”, I checked the settings from /wp-admin/admin.php?page=wp-mail-smtp&tab=settings and found that the Mail section’s From Email and From Name were reversed as shown in the image below.
I swapped the form input values to the correct settings as shown below and clicked the [Save Settings] button:
Finally, I confirmed that [Send Test Email] works properly, and also confirmed that the contact form prepared with Contact Form 7 + WP Mail SMTP submits normally, completing the configuration.
That’s all from the Gemba.