chirag04 / mail-listener2

Mail listener library for node.js. Get notification when new email arrived.
MIT License
245 stars 116 forks source link

Maildisconnect feature doesn't work. #51

Open amolc opened 8 years ago

amolc commented 8 years ago

The mailconnection works properly but it doesn't disconnect from the server properly. This causes the mail_max_userip_connections=10 issue. I am unable to close connection and then after 10 connections from the same ip, the server doesn't allow us to connect.

chirag04 commented 8 years ago

feel free to send a PR :)

amolc commented 8 years ago

Hello Chriag,

Sounds good. Let me work on it.

Amol

On 29 Oct 2015, at 11:48 PM, Chirag notifications@github.com wrote:

feel free to send a PR.

— Reply to this email directly or view it on GitHub https://github.com/chirag04/mail-listener2/issues/51#issuecomment-152221693.

jljorgenson18 commented 8 years ago

I think the imap.end(); function is a little wonky. Is there any reason why we couldn't use imap.destroy() ?

chirag04 commented 8 years ago

@jljorgenson18 Seems like imap changed it to destroy from end? If that's the case, can you PR?

roccomuso commented 8 years ago

+1 Is this repo mantained?