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

Imbox() usable as with statement #92

Merged
merged 1 commit into from
Sep 18, 2017
Merged

Imbox() usable as with statement #92

merged 1 commit into from
Sep 18, 2017

Conversation

sblondon
Copy link
Contributor

This allows usage like:

with imbox.Imbox("imap.server.domain.tld", "user", "password") as mbox:
... mbox.folders()

and the logoout() is made automatically.

The patch update the README to use it.

This probably my last patch so don't wait others ones if you want to release a new version.

Thanks for all the quick merges!

@martinrusev
Copy link
Owner

@sblondon Thanks for the contributions. This one is really nice. Merging and pushing to pypi

@martinrusev martinrusev merged commit 5e2afc6 into martinrusev:master Sep 18, 2017
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

Successfully merging this pull request may close these issues.

None yet

2 participants