Skip to content

Symfony mailer : how to reset "All transports failed." error between two emails sending ? #52530

Closed Answered by javaDeveloperKid
sdespont asked this question in Q&A
Discussion options

You must be logged in to vote

The first email is well sent, the others all failed with error log "Error when sending email [No transports found.]".

I bet it's 3rd and 4th email that fail with error log Error when sending email [No transports found]." and 2nd fails with Error when sending email [All transports failed].

Your ideas are very welcome.

Now that we know you have try..catch block then this paragraph in my answer applies:

However ever if you handle this exception somehow or move to the async handling then RaoundRobinTransport still will cause problem because there is 60 seconds freeze for every transport that fails.

Unfortunatelly it's not configurable at the moment. I've opened an issue for this #52551

P…

Replies: 5 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@javaDeveloperKid
Comment options

Answer selected by sdespont
Comment options

You must be logged in to vote
1 reply
@javaDeveloperKid
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants