deno-smtp
deno-smtp copied to clipboard
ror: 451: 4.4.2 Timeout - closing connection. 9sm11874315wmo.34 - gsmtp
ror: 451: 4.4.2 Timeout - closing connection. 9sm11874315wmo.34 - gsmtp
I am getting this error after c15 minutes of server start.i found that smtp connection is timing out. the only solution is to restart the server
There is no need for the SMTP client to maintain a long connection. Or am I wrong?
No your not wrong but when i make second request after 15 minutes or more on server idleness, the smtp timeout meaning the email cant be send.
For deno-smtp you should close the connection after each send and reestablish the connection the next time. For the SMTP server itself, new connections cannot be received after 15 minutes. The problem lies in the SMTP server.
This highly appreciated, lemme do some modification and monitor. I will let you know if the problem persist