Version: 3.1.3
Bug Description
After upgrading nette/mail to version 3.1.3 from 3.1.2, the e-mails won't send with exception:
Nette\Mail\SmtpException
SMTP server did not accept STARTTLS with error: 503 5.5.2 Send hello first [DB5EUR03FT018.eop-EUR03.prod.protection.outlook.com]
I suspect this pull request #67 to be an issue.
Steps To Reproduce
Send e-mail with this settings:
[
'host' => '<hidden>.mail.protection.outlook.com',
'port' => 25,
'secure' => 'tls',
]
Expected Behavior
E-mail is sent
Possible Solution
Revert the pull request #67