Open ghost opened 6 years ago
do you mean like node setTimeout(function(){ sendmail() },1000)
https://nodejs.org/dist/latest-v8.x/docs/api/timers.html#timers_settimeout_callback_delay_args
I do not. I mean setting a maximum time to spend trying to send the email, e.g. if it’s not done within X milliseconds, abort.
I think that's a great feature request
@BamItsPixel any interest taking a stab at it and submitting a PR?
How does one set a timeou when sending an email?