How to download attachments deemed as viruses
Right now it's saying that my files contain viruses which I know not to be true because it's source code that I've written and compiled. When I uploaded them Gmail didn't have policies on binaries.
I tested the GYB option https://github.com/jay0lee/got-your-back and it does indeed download the messages with MIME attachments inline. But it does not decode them into binary files. So I pasted together some python examples from around the web and now have my long lost files. The script is attached, but don't anyone download it... it's executable and might harm your computer :P
The command I used was of the form:
gyb.exe --email your...@gmail.com --action backup --batch-size 10 --search "has:attachment"
The script should be run from the same directory as the gyb.exe. It makes a folder called "attachments" with subfolders for each email containing the decoded files.
I normally like new features in gmail, and I understand the good intentions here but this is pretty annoying. Since the "download anyway" option probably isn't coming back, my preferred solution would be to move files affected by the implementation change to a folder marked "unsafe attachments" in my google drive and let me decide what is and isn't a virus.
Some community members might have badges that indicate their identity or level of participation in a community.
Member levels indicate a user's level of participation in a forum. The greater the participation, the higher the level. Everyone starts at level 1 and can rise to level 10. These activities can increase your level in a forum:
- Post an answer.
- Having your answer selected as the best answer.
- Having your post rated as helpful.
- Vote up a post.
- Correctly mark a topic or post as abuse.
Having a post marked and removed as abuse will slow a user's advance in levels.
View profile in forum?
To view this member's profile, you need to leave the current Help page.
Report abuse in forum?
This comment originated in the Google Product Forum. To report abuse, you need to leave the current Help page.
Reply in forum?
This comment originated in the Google Product Forum. To reply, you need to leave the current Help page.