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

stream the attachment contents #294

Open
dongbin86 opened this issue Aug 30, 2024 · 1 comment
Open

stream the attachment contents #294

dongbin86 opened this issue Aug 30, 2024 · 1 comment

Comments

@dongbin86
Copy link

I'm using this library to read email content. The attachments might be numerous and large, and I want to stream the attachment contents and save them gradually to disk, rather than loading everything into memory at once. Does the library support this approach? If so, do you have an example?

@jonhoo
Copy link
Owner

jonhoo commented Oct 19, 2024

No, unfortunately there isn't support for this at the moment. You could implement it manually by using the readline command that's exposed though. It'd be a good feature to add, though also non-trivial given the library's current design.

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