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

Gmail IMAPS behaviour #44

Open
acron0 opened this issue Feb 18, 2016 · 2 comments
Open

Gmail IMAPS behaviour #44

acron0 opened this issue Feb 18, 2016 · 2 comments

Comments

@acron0
Copy link

acron0 commented Feb 18, 2016

Hi there,

So, I don't claim to know a great deal about IMAPS so I'm willing to have my understanding amended.
I found clojure-mail because I want to do some processing on emails received at a GMail address, ideally as soon as they arrive.

Straight off, I just tried the "Watching a folder" example from the README, putting in my own credentials. A few errors later and I figured out it needed a) IMAP support and b) 'Less secure app' support both to be enabled in GMail. After that, no errors but no events being received despite sending e-mails to the address. And I have no idea how to debug it.

Next attempt was just to try and get the unread messages out of the inbox. This was successful, until I put the process in a loop with a 3 second delay. After roughly 10-15 successful reports of unread mail count, it hangs indefinitely.

Is there something I can do to either fix either of these approaches? Thanks for any advice you can give me

@paultopia
Copy link

I'm also having very difficult to debug problems. Even with imap and less secure app support enabled, every time I try to create a connection as specified in the readme it just times out. Has gmail changed some back-end config or something?

@agofilo
Copy link

agofilo commented Sep 19, 2018

It isn't the idle-manager the problem.
Most parts of IMAP servers closes the connection after some time, the idlemanger object is still running but doesn't get the event from the server.

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

3 participants