New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expected response code "354" but got code "250", with message "250 2.1.5 Ok" #54169
Comments
I have the same problem |
We also get these; we run a single messenger process that uses a redis stream. Every few hours or so, we get this error (using google workspaces smtp server). I cannot figure out how to debug why this is happening though. Relevant stacktrace:
|
@alcohol try set your config smtp config ping_threshold=9 https://symfony.com/doc/current/mailer.html#other-options smtp://USERNAME:PASSWORD@default?ping_threshold=9 |
Can you elaborate why? |
Symfony version(s) affected
6.0.19
Description
Sending Emails within the same process shortly after each other to the same recipient address randomly produces this error:
Expected response code "354" but got code "250", with message "250 2.1.5 Ok"
Resending the email later produces no error any more.
The operator of the SMTP Server says: "It has to do with pipelining. Your SMTP client is probably mashing up messages from SMTP server with different emails being sent."
Is there any chance that he is right?
How to reproduce
The event is random, approximatively once every 1000 emails - I have not found a possibility to intentionally reproduce it.
Possible Solution
No response
Additional Context
A worker process (continuously running) looks for emails to be sent. Each email is sent serial, synchroneous.
The text was updated successfully, but these errors were encountered: