You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
After a while, the SMTP connection in the (g)mail provider is disconnected for some reason (network interrupted, etc). Any log message after that will no longer be transmitted by email.
Describe the solution you'd like
Log everything regardless of the connection status.
Describe alternatives you've considered
This is my workaround, do something similar. BTW you can easily simulate a disconnection with handler.provider.smtp_server.quit().
ifself.smtp_serverandnotcallable(self.smtp_server):
try:
# send dummy requestself.smtp_server.noop()
exceptSMTPServerDisconnected:
# force reconnect if disconnectedself.smtp_server=None
Additional context
None.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
After a while, the SMTP connection in the (g)mail provider is disconnected for some reason (network interrupted, etc). Any log message after that will no longer be transmitted by email.
Describe the solution you'd like
Log everything regardless of the connection status.
Describe alternatives you've considered
This is my workaround, do something similar. BTW you can easily simulate a disconnection with
handler.provider.smtp_server.quit()
.Additional context
None.
The text was updated successfully, but these errors were encountered: