Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Mailer][MailerSend] Supplied transport does not work, generic transport does #60636

Closed
@ovgray

Description

@ovgray

Symfony version(s) affected

7.2, 7.3

Description

With symfony/mailer-send-mailer installed, wWhen I use this DSN:
mailersend+smtp://USERNAME:PASSWORD@default
I get this exception:
Connection could not be established with host "ssl://smtp.mailersend.net:587": stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:0A00010B:SSL routines::wrong version number

If I use this DSN, however:
smtp://USERNAME:[email protected]:587
Connection is established and message is sent.

How to reproduce

Install transport. Try sending.

Possible Solution

Hopefully those who understand what's going on under the hood better than I do can figure out from the working generic transport DSN and the error message why the supplied transport does not work.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions