0
0
mirror of https://github.com/PHPMailer/PHPMailer.git synced 2024-09-20 01:52:15 +02:00
This commit is contained in:
Marcus Bointon 2023-11-08 19:16:12 +01:00
parent 666af00c0d
commit cbe9d8d9a9
No known key found for this signature in database
GPG Key ID: DE31CD6EB646AA24

View File

@ -2198,7 +2198,8 @@ class PHPMailer
if (
$this->SMTPAutoTLS &&
$this->Host !== 'localhost' &&
$sslext && 'ssl' !== $secure &&
$sslext &&
$secure !== 'ssl' &&
$this->smtp->getServerExt('STARTTLS')
) {
$tls = true;