-
-
Notifications
You must be signed in to change notification settings - Fork 134
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
Add PDF support to save_all_attachments.py #10
Comments
Hello @EmTee70 ! Thank you for your comment. This repo contains 1 zillion things. |
This code is copied from http://janeelix.com/piers/python/save_all_attachments Feel free to send a PR! |
Yes, you are right. I am relative new to GitHub and so I was calling it an issue, it would probably be cool to support all mime types. Put them in an associative array and so... maybe I try to solve this. |
No problem! Just press the pencil icon (top right) |
@EmTee70 Is it okay for me if you write your suggestion here as a snippet. |
Line 130 results in .xxx if not .txt if I read it right,
I changed it to
to ensure to get .pdf extension if it is a PDF, I know this is not originally from you, but I just found it here. Thank you.
The text was updated successfully, but these errors were encountered: