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

"ergonomic" attachment support #157

Closed
benjaminweb opened this issue Feb 23, 2020 · 1 comment
Closed

"ergonomic" attachment support #157

benjaminweb opened this issue Feb 23, 2020 · 1 comment

Comments

@benjaminweb
Copy link

Does rust-imap support message.attachments[i] notation or something similar to work with the attachments of a mail? I could not find anything apart from bodystructure and issue #116.

https://github.com/martinrusev/imbox (Python lib) seems to have an ergonomic user interface.

@jonhoo
Copy link
Owner

jonhoo commented Feb 24, 2020

@benjaminweb The crate does as little parsing as it can, limiting itself just to the IMAP standard itself. You'd generally want a higher-level library like mailparse to parse the contents of emails. Now, you may need BODYSTRUCTURE to do so, and there I'm mostly just waiting on tests from @avitex in #134, so that'd be the issue to watch :)

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

2 participants