Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Setting a timeout #46

Open
ghost opened this issue Jan 30, 2018 · 4 comments
Open

[Question] Setting a timeout #46

ghost opened this issue Jan 30, 2018 · 4 comments
Assignees
Milestone

Comments

@ghost
Copy link

ghost commented Jan 30, 2018

How does one set a timeou when sending an email?

@GreenPioneer
Copy link
Collaborator

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

@ghost
Copy link
Author

ghost commented Feb 10, 2018

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.

@GreenPioneer GreenPioneer self-assigned this Feb 13, 2018
@GreenPioneer GreenPioneer added this to the 1.x milestone Feb 13, 2018
@GreenPioneer
Copy link
Collaborator

I think that's a great feature request

@GreenPioneer
Copy link
Collaborator

@BamItsPixel any interest taking a stab at it and submitting a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant