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

listerner for multiple emails. #15

Closed
chirag04 opened this issue May 21, 2013 · 2 comments
Closed

listerner for multiple emails. #15

chirag04 opened this issue May 21, 2013 · 2 comments

Comments

@chirag04
Copy link
Contributor

Looking for a example to listen for multiple emails. Any heads up?

I need to listen for multiple emails which are going to be configured dynamically and not when the script boots up.

@anotheri
Copy link

anotheri commented Jun 6, 2013

@chirag04 It's complex goal. But maybe this answer can help you.

You can change lstnr.js file (from example) for getting information about all your emails from db and creating listener for each of them and than restart this script as a child process from a handler (file main.js). In turn, handler should listen changes in your email collection in db. Or something like this.

@chirag04
Copy link
Contributor Author

chirag04 commented Jun 6, 2013

Yes, I'm doing the same. Using forever to keep the script running. Added tcp server which will accept multiple emails to be added dynamically and that will create multiple listener .

@chirag04 chirag04 closed this as completed Jun 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants