Skip to content

SMTP server did not accept STARTTLS with error: 503 5.5.2 Send hello first #71

@hubipe

Description

@hubipe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions