Thank you Mr DM

But I still have problems. That is: if I use -a $attachments, then
only attach one file, others will act as recipient. I should use -a
file1 -a file2 instead of -a file1 file2. Am I right?
So I made a script can store all file names in one list and begins
with "-a", then use:
mutt -s "Subject" \\
   file lists start with "-a" and end with "\"
< message_body.txt

This can meet my require.

And I wanna to know if you have any good suggestions on this?

Zhang Qi



On Wed, May 12, 2010 at 2:51 PM, Derek Martin <[email protected]> wrote:
> -- "$recipient"

Reply via email to