Re: MUTT file attachments are mandatory?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday, December 11 at 02:22 PM, quoth fernando.olmos@xxxxxxxxxx:
>I am a newbie to MUTT, so I hope this question has not been asked too
>often.
>I want to MUTT an email with two file attachments with the '-a' switch.
>However, the files may not exist! If the file(s) does not exist, Mutt
>reports an error ...
>Can't stat /mis/qldmips/daily/qldtrans.txt: No such file or directory
>/mis/qldmips/daily/qldtrans.txt: unable to attach file.
>How can I tell MUTT to treat the '-a' as optional and not mandantory?
Hmm, there's no way to do that that I know of. Easier to simply test
whether the file is there or not and then not add the flag if it's not
there.
~Kyle
- --
Moral indignation is jealousy with a halo.
-- H. G. Wells
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iD8DBQFFfNcdBkIOoMqOI14RAstAAJ9OQNDRcGJawPi2ANIdgbAXGqEe7ACbBTiM
sN25GIpg1FLo1Q9eIlEfOeY=
=f9ft
-----END PGP SIGNATURE-----