问题
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