Adding several attachments to thunderbird (from command line)

瘦欲@ 提交于 2019-12-07 05:33:18

问题


I try to create a new message with several attachments via command line, but this does not work:

thunderbird -compose "attachment='/etc/mtab',attachment='/etc/fstab'"

Only the first file gets attached. The second is missing.

What is wrong with the above command line?

PS: I tried xdg-email first, but this fails. See How to open the user's preferred mail application on Linux?


回答1:


the command must be specified as

thunderbird -compose "attachment='/etc/mtab,/etc/fstab'"

I have tried under windows.




回答2:


Another way to attach several files:

thunderbird.exe -compose to="info@gmail.com" ,subject="SubjectText" ,body="bodytext" ,attachment='D:\File.txt,D:\File2.txt'


来源:https://stackoverflow.com/questions/27836576/adding-several-attachments-to-thunderbird-from-command-line

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!