For those of you updating from version 0.10 and encountering an issue, see below!
In 0.11 and 1.0, we disabled the SMTPAutoTLS
setting because it was giving some users issues. However, it now seems that doing that causes issues for other users who may have relied on it.
When you get a chance, the code snippet below should resolve the issue, IF this problem is indeed caused by the changed SMTPAutoTLS
setting. It should go in your site’s functions.php
file or similar.
function wpmailsmtp_enable_autotls( $mailer ) {
$mailer->SMTPAutoTLS = true;
return $mailer;
}
add_filter( 'wp_mail_smtp_custom_options', 'wpmailsmtp_enable_autotls' );
What we’ll likely be doing is releasing an update in the coming days that changes the default of this setting back enabled (as it was in 0.10
) and in addition to this provide an option in the setting to easily disable it for those users that experience issues. This way this setting is flexible and users can see which works best for them depending on how their web server is configured.
I sincerely apologize for the trouble. In cases like this, it appears regardless of what configuration we use it’s going to cause issues for some users (depending on their host). This unfortunately isn’t something we can detect on our end, so the solution will be to pick the “best” default (which we no believe will be ON) and provide a way for users to change it if needed.
Hope that helps! Thanks for your patience ??