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

Not able to download Screenshot images which were added in email body also not able to download .msg file #118

Closed
jitdwoodside opened this issue Jul 12, 2023 · 1 comment
Assignees

Comments

@jitdwoodside
Copy link

I am trying to download attachments from pst file but not able to download the screenshots pasted in the body of email using snipping tool. Also not able to download attachments with .msg extension.
Sample code
for index,eachattachment in enumerate(eachitem.attachments):
for attachment_entry in eachattachment.get_record_set(0).entries:
if attachment_entry.entry_type == 12289:
print(attachment_entry.data_as_string)
In this code I am trying to get the filename for screenshot and .msg files, but i am getting this thing as output "Picture (Device Independent Bitmap)" and "Global Message:" How to download this attachment? Please help.

@joachimmetz
Copy link
Member

Per #2 Python bindings are WIP

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

No branches or pull requests

2 participants