Community mailing list archives

SMTP timeout

- 08/26/2015 22:47:12
I was hit by a mail bug that seems to be caused by a partial connection to SMTP server that never returns, preventing subsequent mail job to skip and no mail is sent ever since.

In, SMTP connection is made without setting a timeout. Without the optional timeout argument, the global default timeout is used, which is None. Should the connection to the SMTP fails to return, the connection will hang indefinitely. This will cause subsequent mail job to skip without notice.

I checked the latest v7 and v8 head and no timeout is set. Did anyone encounter the same issue, or is it just me missing something here?