Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Mailer timeout #35138

Copy link
Copy link
Closed
Closed
Copy link
@seddighi78

Description

@seddighi78
Issue body actions

Symfony version(s) affected: 4.4.2

Description
I'm using Mailer component for send email in Symfony and set env variables for MAILER_DSN

 MAILER_USERNAME=mailer@example.con
 MAILER_PASSWORD=**************
 MAILER_DSN=smtp://$MAILER_USERNAME:$MAILER_PASSWORD@mail.example.com:465

the emails was send but throw error for timeout:

request.CRITICAL: Uncaught PHP Exception Symfony\Component\Mailer\Exception\TransportException: "Connection to "ssl://mail.example.com:465" timed out." at path/path/vendor/symfony/mailer/Transport/Smtp/Stream/AbstractStream.php line 81 {"exception":"[object] (Symfony\Component\Mailer\Exception\TransportException(code: 0): Connection to \"ssl://mail.grandsocial.net:465\" timed out. at path/path/vendor/symfony/mailer/Transport/Smtp/Stream/AbstractStream.php:81)"} []

i think this is bug or if not please help to solve this.
thanks

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.