Created
February 5, 2020 09:47
-
-
Save slaFFik/bb80615c01ab9cefe12f3d8b9711b983 to your computer and use it in GitHub Desktop.
WP Mail SMTP: specify an exact AuthType to connect to a Server.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'wp_mail_smtp_custom_options', function( $phpmailer ) { | |
$phpmailer->AuthType = 'LOGIN'; | |
return $phpmailer; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment