{"action":"created","issue":{"url":"https://api.github.com/repos/chirag04/mail-listener2/issues/42","labels_url":"https://api.github.com/repos/chirag04/mail-listener2/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/chirag04/mail-listener2/issues/42/comments","events_url":"https://api.github.com/repos/chirag04/mail-listener2/issues/42/events","html_url":"https://github.com/chirag04/mail-listener2/issues/42","id":79645019,"number":42,"title":"Library/example code connects but doesn't detect mails","user":{"login":"airadam","id":12566648,"avatar_url":"https://avatars.githubusercontent.com/u/12566648?v=3","gravatar_id":"","url":"https://api.github.com/users/airadam","html_url":"https://github.com/airadam","followers_url":"https://api.github.com/users/airadam/followers","following_url":"https://api.github.com/users/airadam/following{/other_user}","gists_url":"https://api.github.com/users/airadam/gists{/gist_id}","starred_url":"https://api.github.com/users/airadam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airadam/subscriptions","organizations_url":"https://api.github.com/users/airadam/orgs","repos_url":"https://api.github.com/users/airadam/repos","events_url":"https://api.github.com/users/airadam/events{/privacy}","received_events_url":"https://api.github.com/users/airadam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-22T23:02:23Z","updated_at":"2015-12-30T21:55:53Z","closed_at":null,"body":"I've given the sample code a try (with changes for real settings), and have found that while IMAP does connect (and stay connected), incoming emails aren't detected at all. This seems to be a problem others have had too;\r\n\r\nhttp://stackoverflow.com/questions/24857743/unable-to-listen-to-mail-server-using-mail-listener2-nodejs\r\nhttp://stackoverflow.com/questions/25344911/mail-listener2-doesnt-work\r\n"},"comment":{"url":"https://api.github.com/repos/chirag04/mail-listener2/issues/comments/168080456","html_url":"https://github.com/chirag04/mail-listener2/issues/42#issuecomment-168080456","issue_url":"https://api.github.com/repos/chirag04/mail-listener2/issues/42","id":168080456,"user":{"login":"gauravsaini03","id":1821959,"avatar_url":"https://avatars.githubusercontent.com/u/1821959?v=3","gravatar_id":"","url":"https://api.github.com/users/gauravsaini03","html_url":"https://github.com/gauravsaini03","followers_url":"https://api.github.com/users/gauravsaini03/followers","following_url":"https://api.github.com/users/gauravsaini03/following{/other_user}","gists_url":"https://api.github.com/users/gauravsaini03/gists{/gist_id}","starred_url":"https://api.github.com/users/gauravsaini03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gauravsaini03/subscriptions","organizations_url":"https://api.github.com/users/gauravsaini03/orgs","repos_url":"https://api.github.com/users/gauravsaini03/repos","events_url":"https://api.github.com/users/gauravsaini03/events{/privacy}","received_events_url":"https://api.github.com/users/gauravsaini03/received_events","type":"User","site_admin":false},"created_at":"2015-12-30T21:55:52Z","updated_at":"2015-12-30T21:55:52Z","body":"@chirag04 I found another nice solution which worked really well. \r\nhttps://github.com/jcreigno/nodejs-mail-notifier\r\n\r\n@ZuzooVn @airadam  you can have a look at it. "}}