jcreigno / nodejs-mail-notifier

nodejs library to listen incoming mail
MIT License
168 stars 77 forks source link

Event for when mail-notifier connects to IMAP #23

Closed KrisSiegel closed 8 years ago

KrisSiegel commented 8 years ago

I'm looking to be able to trigger a message when successful connection to the IMAP server occurs. This is something the outdated mail-listener2 module provided. Is there anyway to get this out of the existing implementation? If not, any plans to add this? I can take a look at creating a PR I just don't have time to dig through the code at the moment.

Thanks!

jcreigno commented 8 years ago

I've added a connected event that is fired when the connection is established with the imap server in 7d1021696c267bfe484102efcb283bdc4a2fc8c2 .

KrisSiegel commented 8 years ago

Fantastic! Thanks! A++. Would post issue again :)

Are you going to publish a new version to npm for this modification?

jcreigno commented 8 years ago

Not sure I like issues that much :) , but requests for improvement are welcome.

I've published version 0.3.0 to npm.

KrisSiegel commented 8 years ago

I saw. Thanks!