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

Extract attachment #104

Closed
Deeborg opened this issue Jul 29, 2021 · 4 comments
Closed

Extract attachment #104

Deeborg opened this issue Jul 29, 2021 · 4 comments
Assignees
Labels

Comments

@Deeborg
Copy link

Deeborg commented Jul 29, 2021

Hi,
Could you please let me know if it is possible to extract attachments using get_attachment and save it on disk or write them to a database say MongoDB?

@joachimmetz joachimmetz self-assigned this Jul 29, 2021
@joachimmetz
Copy link
Member

@Deeborg in theory yes. If you're looking for a more specific answer you'll have to provide more context.

@Deeborg
Copy link
Author

Deeborg commented Jul 29, 2021

I am creating a database of all the mails with data extracted using pypff. However, I am unable to get the attachments as files to store the same in MongoDB. For example, I would like to get pdf attachment from mail as file and store the same in MongoDB or export those files to disk separately.

@joachimmetz
Copy link
Member

in that case you'll have to wait until the Python bindings (pypff) are completed as per #2

@Deeborg
Copy link
Author

Deeborg commented Jul 29, 2021

Got it. Thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants