-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
When transport is gone, swiftmailer does not try to restart transport #67
Comments
I also encountered this problem
|
@mikk150 Then how do we solve this problem? Is there no other way? |
@mikk150
Then the problem is solved. |
@ADirtyCat I do not think that getting rid of transport is a good idea because it will add more overhead to this problem(SYN, ACK, EHLO, AUTH) Also it is not Swiftmailer's problem, because they have clearly told that this is developers problem |
I added the code, but there was still an exception.
|
@ADirtyCat please try to relocate this code according to my new PR |
@mikk150 Thank you very much !! You are the Savior |
@mikk150 I don't know why I tried it again today.
|
@ADirtyCat that is issue to swiftmailer, they do not convert libSSL warnings into if it affects me as well(because I might still have this issue), then I'll see what I can do it seems to work for now at least |
…email, not if connection is initially made
I have faced this issue again when send many mails from mailing queue.
then replace mailer class in config file. |
What steps will reproduce the problem?
Make a queue that sends emails, send email and after some time(about 5-15 minutes) send another email
What's expected?
it sends email, waits 15 minutes (because queue said so) it sends another
What do you get instead?
it sends email, waits 15 minutes (because queue said so) gets error that transport is gone, because it never tries to reconnect
Additional info
4 lines of code fixes this(will make PR myself)
The text was updated successfully, but these errors were encountered: