-
Notifications
You must be signed in to change notification settings - Fork 161
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
POP3 responses do not update when mail is added #143
Comments
This function call loads the messages but only happens during at the end of the auth state but should happen when requesting anything regarding message data. A good place for this would be at the beginning of the transaction handler. |
My memory is fuzzy, but I think the reason for this is that Inbucket needs to track which messages were deleted by the POP client, to save at the end of the session. I'm sure it could be redesigned to handled in a different way. The clients I used during development did not keep the POP3 session open; they would connect, sync and disconnect. |
Ah ok, I ended up implementing it this way. Have you considered adding support for IMAP? |
I looked at both POP and IMAP at the same time, but IMAP would have been a much larger project. I'm pretty sure this is the first time anyone has even mentioned using the POP3 support to me, I don't think it's a popular feature; don't think I could justify the time investment for IMAP. |
Ended up switching to use the REST API which works for what I am using it for |
Hello! First off, great project!
I am running your project from the latest docker container and I am running into an issue where the POP3 mailbox is returning the same thing for STAT and other commands after the client is connected when called multiple times after adding items to the mailbox.
If I disconnect and reset my connection the correct items and number of messages appear.
Cheers, Andrew
The text was updated successfully, but these errors were encountered: