Not able to download Zip file from gmail which contains executable Jar in it

DownloadGmailZipExecutable Jar

Download Problem Overview


I have an email almost 4 years ago, which has Zip file in attachments containing executable jar file. I want to download that file. But, nowadays gmail doesn't allow to send or receive any executable file. Can anybody help me how can I download that zip from from my email?

Download Solutions


Solution 1 - Download

>Proceed at your own risk !!!!

  1. Open the email in your browser
  2. Go to the arrow next to the reply button, and press show original
  3. When the new TAB is opened simply click on "Download original" and rename the file to email.eml!
  4. Now you can open that eml file with almost any email client (Outlook, thunderbird .... )

Solution 2 - Download

The easiest solution would be this one, it takes 30 seconds to do. Simply open your web inspector and delete the display:none property for the google drive button. The button will then appears and you will be able to download your file in your Google Drive. From your Google Drive, you will be able to download your file on your computer.

Cheers

Solution 3 - Download

enter image description here

Step 1. Click on Show original option as shown in the image. Clicking this option opens a new tab with the original, MIME encoded message.

Step 2. Wait for the complete page to load. This might take a long time depending on the size of the attachment and your internet speed. Once the page has loaded completely, copy the content and paste to notepad. Save as 0.txt(any name you can choose).

Step 3. Now rename file 0.txt to 0.eml

Step 4. open the file in Outlook or any email client. you will see the email with attachment.

This way worked for me.

Solution 4 - Download

You can download it from the Android Gmail or Inbox app. Then you can put it in drive if you like to access it anywhere.

Solution 5 - Download

1. Download and install python 3.4 (https://www.python.org/downloads/release/python-343/)

2. Open up the mail that has the blocked attachment. Click on the arrow button next to reply and select show original

3. Wait for the complete page to load. This might take a long time depending on the size of the attachment and your internet speed. Once the page has loaded completely, save it. The filename will be 0.txt. Save it in a directory which does not have any other text file.

4. Open python and copy the following code. Save it to the same directory as 0.txt. Run the program by double-clicking on the saved .py file.

# Get your files that Gmail block. Warning message:
# "Anti-virus warning - 1 attachment contains a virus or blocked file. Downloading this attachment is disabled."
# Based on: http://spapas.github.io/2014/10/23/retrieve-gmail-blocked-attachments/
# Go to your emails, click the arrow button in the top right, "Show original", save to the same directory as this script.

import email
import sys
import os

if __name__ == '__main__':
  if len(sys.argv) < 2:
    print("Press enter to process all files with .txt extension.")
    input()
    files = [ f for f in os.listdir('.') if os.path.isfile(f) and f.endswith('.txt') ]
else:
  files = sys.argv[1:]

print("Files: %s" % ', '.join(files))
print()

for f in files:
  msg = email.message_from_file(open(f))
  print("Processing %s" % f)
  print("Subject: %s" % msg['Subject'])
  for pl in msg.get_payload():
    fn = pl.get_filename()
    if fn:
      print("Found %s" % fn)
      if os.path.isfile(fn):
        print("The file %s already exists! Press enter to overwrite." % fn)
        input()
      open(fn, 'wb').write(pl.get_payload(decode=True))
  print()

You should see your attachment downloaded to the same directory after some time.

Source- https://gist.github.com/stefansundin/a99bbfb6cda873d14fd2

Solution 6 - Download

  1. Open the gmail email in your browser
  2. Go to the arrow next to the reply button, and press show original
  3. download original and save it with extension .eml
  4. open it in oulook

Solution 7 - Download

Or if you are PHP programmer get mail source via mail menu option "Show original" copy file attachment base64 string save to file for example test.b64 and:

file_put_contents ('test.rar',base64_decode(file_get_contents('test.b64')));

Saves regular attachment file in test.rar

Solution 8 - Download

If you are using a smart phone, simply open the email, save the attachment, connect your smartphone to your computer, open the Download folder in your smartphone by using windows explorer and copy the file to your desktop.

Or, you could also forward this email from your smartphone to another email address and download it from there.

Solution 9 - Download

No need to struggle a lot. I struggled a lot in my browser, YouTube tutorials and some articles but finally my own idea worked.

I was trying to download sriyog_com.rar file which was blocked by gmail.

file blocked by gmail

THE BEST WAY :

Open the email which contains that blocked file in Mobile Application. The save to Google Drive icon will appear Mobile Phone Screenshot Save the file in Google Drive File ready to download Now the file is ready to download.

Note : Its time saving rather than eml files and other long scripting.

Thanks

Solution 10 - Download

if you have smartphone, the easiest way is to open the gmail in gmail app and save the file to google drive(in gmail app save to google drive is active). go back to computer and open google drive and download the desire file.

Solution 11 - Download

Connect your gmail on one of the mail clients like Polymail, fetch your emails, download whatever you want :)

Solution 12 - Download

Open mail from Android

--> Go to the specific mail
--> You will find a download option 
--> Download the ***.zip/***.rar file 
--> Upload it to the google drive 
--> Now download it or use USB cable to transfer data to your computer.

It's working for me.

Thanks

Solution 13 - Download

http://www.barfuhok.com/how-to-download-a-file-with-anti-virus-warning-on-gmail/

It worked for me the method 1 "Method 1: Save email and open it in Outlook"

After downloaded the original message I changed the downloaded file to .eml

Eg: original_msg.eml

In order to open the message with other email clients file must be in ".eml" format.

Then I opened the file in thenderbird, which is a popular free email client.

Now I can able to download files.

Thats it.

Hope it helps.

Solution 14 - Download

Five Steps to Solve Virus Blocked or Executable Files from Gmail.

  1. Select Show Original

  2. Download Original

  3. Web Search eml reader online or you can visit

  4. upload the downloaded eml file (from point 2).

  5. you should be able to view and download the blocked attachments.

    Online EML Reader Show Original Download Original

Solution 15 - Download

The best way I found out was to download the attachment or add it to your drive via Gmail app. It works fine.

Solution 16 - Download

Workaround : Simply access the same mail via gmail android app.. u can download it . no issues.

Solution 17 - Download

Accessing the file via any email client that uses IMAP (maybe also POP) will allow downloading of the file.

Solution 18 - Download

> Just click forward the email and then click on the composed email > attachment

your file will get downloaded

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionNijesh HirparaView Question on Stackoverflow
Solution 1 - DownloadYounes RegaiegView Answer on Stackoverflow
Solution 2 - DownloadAlexandre BarfuhokView Answer on Stackoverflow
Solution 3 - DownloadAshwin PatilView Answer on Stackoverflow
Solution 4 - DownloadCarlos ToledoView Answer on Stackoverflow
Solution 5 - DownloadSwastik PadhiView Answer on Stackoverflow
Solution 6 - Downloaduser3609351View Answer on Stackoverflow
Solution 7 - DownloadBIOHAZARDView Answer on Stackoverflow
Solution 8 - Downloadshamsieh76View Answer on Stackoverflow
Solution 9 - DownloadPrakash UpretiView Answer on Stackoverflow
Solution 10 - DownloadAli ZiaeeView Answer on Stackoverflow
Solution 11 - DownloadAl-Mutaz Bellah Ahmad SalahatView Answer on Stackoverflow
Solution 12 - DownloadShahadat HossainView Answer on Stackoverflow
Solution 13 - DownloadAdiyya TadikamallaView Answer on Stackoverflow
Solution 14 - DownloadAvi DasView Answer on Stackoverflow
Solution 15 - DownloadMRINALGOUDA PATILView Answer on Stackoverflow
Solution 16 - DownloadVikas SinghView Answer on Stackoverflow
Solution 17 - DownloadmachView Answer on Stackoverflow
Solution 18 - DownloadSuhas Arvind PatilView Answer on Stackoverflow