Mail command --> send multiple attachments

Hi,

i try to send two (multiple) files by the mail-console-command

mail -s TEST  -a f1.pdf f2.pdf  n.ame@ms123.de

but it doesn't work. can someone give me a hint?

Thanks in advance,
IMPe

Hi.

You can use one -a option per file.

Also, if by "not working" you mean it appears to "hang", it's because it's reading from standard input for the message body.

Thanks a lot Scott,
now i have understand that every attaching file must have a seperate

-a

. Now it works properly!

Thanks
IMPe