【发布时间】:2014-09-06 09:30:04
【问题描述】:
我想在 Debian 和 Windows 上打开 Thunderbird,并附上新电子邮件的附件。
所以我想在这个线程中做同样的事情,但发布的解决方案不起作用:
Python open email client with attachment
我和 user2686223 有同样的问题。该文件不会附加到邮件中。谁能帮我解决这个问题?
也许有其他解决方案?
编辑:现在它是这样工作的:
import os
os.system("thunderbird -compose to='test@test.de',subject='subject',body='body',attachment='/path/to/file'")
【问题讨论】:
标签: python email cross-platform email-attachments thunderbird