• Hello,
    when trying to connect with no encryption, STARTTLS is automatically enabled even if I don’t want it (beacuse the server supports it). The result is that the client disconnects.
    To solve this problem, I had to add this to your plugin:

    if ( empty( $phpmailer->SMTPSecure ) ) {
    $phpmailer->SMTPAutoTLS = false;
    }

    Could you please fix it in next version?
    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • watwebdev

    (@watwebdev)

    I had an issue with any encryption option we used. In the end, I switched to Easy WP SMTP until they can get this fixed.

    • This reply was modified 8 years ago by watwebdev.

    Thanks @niente0!

    Please @chmac, fix it in next version.

    For help other users;
    Edit file wp_mail_smtp.php about line 140…

    
    			// Set the SMTPSecure value, if set to none, leave this blank
    			$phpmailer->SMTPSecure = get_option('smtp_ssl') == 'none' ? '' : get_option('smtp_ssl');
    			
    			//Whether to enable TLS encryption automatically if a server supports it
    			if ( empty( $phpmailer->SMTPSecure ) ) {
    				$phpmailer->SMTPAutoTLS = false;
    			}
    

    Best regards!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not connecting: this is the reason’ is closed to new replies.