I am sending emails using nodemailer and it is working fine. Until in some cases when email service provider(in this case I am using outlook) does not respond with error or success. Which makes my mailing job waiting forever.
So I searched for possible timeout handling in nodemailer.
The timeouts available are these:
- connectionTimeout – how many milliseconds to wait for the connection to establish
- greetingTimeout – how many milliseconds to wait for the greeting after connection is established
- socketTimeout – how many milliseconds of inactivity to allow
But this timeouts doesn't help me solve my current problem.
via Jalil
No comments:
Post a Comment