Quantcast
Channel: WordPress.org Forums » [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin] Support
Viewing all articles
Browse latest Browse all 5022

ajoah on "[Plugin: WP Mail SMTP] OpenSSL changes in PHP 5.6.x"

$
0
0

There is a filter, you do not need to edit plugin file.

add_filter('wp_mail_smtp_custom_options','my_wp_mail_smtp_custom_options');

function my_wp_mail_smtp_custom_options($phpmailer){

	$phpmailer->SMTPOptions = [
		'ssl' => [
			'verify_peer' => false
		]
	];

	return $phpmailer;
}

Viewing all articles
Browse latest Browse all 5022

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>