Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding several attachments to thunderbird (from command line)

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?

like image 319
guettli Avatar asked Jan 08 '15 09:01

guettli


People also ask

How do I open attachments in Thunderbird?

You can quickly open an attachment by clicking the file name in the attachment summary bar to open the Thunderbird attachment actions dialog box. When your email message contains several attachments, the summary bar does not automatically display the names of each attachment.


1 Answers

the command must be specified as

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

I have tried under windows.

like image 53
RoddeChime Avatar answered Oct 30 '22 17:10

RoddeChime