Download 使用IMAP(也可能是POP)的ent将允许下载文件。
方法1“方法1:保存电子邮件并在Outlook中打开它”对我很有效 下载原始邮件后,我将下载的文件更改为.eml 例如:原汁原味 要使用其他电子邮件客户端打开邮件,文件必须为“.eml”格式 然后我在thenderbird中打开了这个文件,这是一个流行的免费电子邮件客户端 现在我可以下载文件了 就这样Download 使用IMAP(也可能是POP)的ent将允许下载文件。,download,gmail,zip,executable-jar,Download,Gmail,Zip,Executable Jar,方法1“方法1:保存电子邮件并在Outlook中打开它”对我很有效 下载原始邮件后,我将下载的文件更改为.eml 例如:原汁原味 要使用其他电子邮件客户端打开邮件,文件必须为“.eml”格式 然后我在thenderbird中打开了这个文件,这是一个流行的免费电子邮件客户端 现在我可以下载文件了 就这样 希望有帮助。解决Gmail中被病毒阻止或可执行文件的五个步骤 选择“显示原件” 下载原件 网上搜索eml阅读器或您可以访问 上传下载的eml文件(从第2点开始) 您应该能够查看和下载被阻止的附件
希望有帮助。解决Gmail中被病毒阻止或可执行文件的五个步骤
谢谢你的回答。我得到了我的文件。应该运行:<代码> Python .py.EML 哇,唯一的解决方案对我来说是有效的。这不是我的答案的复制吗?你的答案有更详细的步骤与截图吗?而被阻止的文件通常是安全的,考虑上传任何可疑文件到ViuStoTalor或其他服务。同意!我可以更新响应以包含该注释吗?步骤3不起作用,但您只需单击
下载原始文件
,然后将扩展名更改为。eml@jared试着说服谷歌,我完全支持你!第4步的替代方法:删除eml文件中base64数据周围的文本,保存到文件.b64
,然后base64--decode-i文件.b64-o文件在Gmail中,您可以单击“显示原件”,然后下载原件。下载后,将.txt文件重命名为.eml并使用本地邮件客户端打开。从那里,你可以把附件从邮件中拖出来。我在其中一个网站上找到了一个非常好的解释和100%有效的解决方案:同样适用于Android的收件箱。伟大的我又在安卓系统上试用了Gmail,效果很好。有什么错误或问题吗?Adiyya在2020年非常感激将Thunderbird与Ubuntu20.04结合使用,这仍然是一个很好的方法来检索一堆音乐编解码器,我在2010年2月被困在那里,只是在Gmail改变规则很久之后才需要检索;他们不允许再发送公平的费用,但下载自己的似乎有点极端。。。所以谢谢你
# 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()
file_put_contents ('test.rar',base64_decode(file_get_contents('test.b64')));
--> 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.