我想在Debian和Windows上打开Thunderbird,附带一个新的电子邮件文件。在
因此,我希望与此线程相同,但发布的解决方案不起作用:
Python open email client with attachment
我和用户2686223有同样的问题。文件不会附加到邮件中。有人能帮我吗?在
也许还有别的办法?在
编辑:这就是它的工作原理:
import os
os.system("thunderbird -compose to='test@test.de',subject='subject',body='body',attachment='/path/to/file'")
使用上面列出的mozillazine中的信息,我能够让它与windows7上的python2.7一起工作
用命令行参数“-compose”启动Thunderbird。 更多信息请访问http://kb.mozillazine.org/Command_line_arguments_%28Thunderbird%29
相关问题 更多 >
编程相关推荐