Skip to content

Instantly share code, notes, and snippets.

<?php
/*
Plugin Name: WP SMTP PHP 5.6 fix
Version: 1.0
Author: unclego
Author URI: https://profiles.wordpress.org/unclego/
License: GPL2
Description: FIX for PHP Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:\nerror:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed when using PHP 5.6+ and mail server with self signed certificate
*/