Created
May 24, 2022 11:12
-
-
Save MailPoet-Staff/64364f9465eb8abe5ffa478fdea1cd85 to your computer and use it in GitHub Desktop.
This file contains hidden or 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('mailpoet_mailer_smtp_options', 'mailpoet_secure_connection_options'); | |
function mailpoet_secure_connection_options() { | |
return [ | |
'ssl' => [ | |
// description of available options can be found here: http://php.net/manual/en/context.ssl.php | |
'verify_peer' => false, | |
'verify_peer_name' => false, | |
'allow_self_signed' => true, | |
], | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment