Created
November 3, 2017 14:06
-
-
Save slaFFik/930aa9c21c0e8f5ffb0ff4c9090aa1d4 to your computer and use it in GitHub Desktop.
WP Mail SMTP: Disable SMTPAutoTLS
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->SMTPAutoTLS = false; | |
return $phpmailer; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment