<<< Date Index >>>     <<< Thread Index >>>

Re: MUTT file attachments are mandatory?



Thanks Kyle.

I already solved it, like you said, by testing the existence of the file
before running MUTT. However, due to the nature of the reports that I
need to attach this means IF THEN ELSE on every report, which means a
lot of overheads with MUTT commands all over the shop. It would have
been nice for MUTT to treat the '-a' switch as optional and I hence I
would have only ONE command line for all my reports.

Thanks

-----Original Message-----
From: kyle-mutt@xxxxxxxxxxxxxx [mailto:kyle-mutt@xxxxxxxxxxxxxx] 
Sent: Monday, 11 December 2006 2:57 PM
To: mutt-users@xxxxxxxx
Subject: Re: MUTT file attachments are mandatory?


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
**********************************************************************
IMPORTANT
The contents of this e-mail and its attachments are confidential and intended
solely for the use of the individual or entity to whom they are addressed.  If
you received this e-mail in error, please notify the HPA Postmaster, 
postmaster@xxxxxxxxxx,
then delete  the e-mail.
This footnote also confirms that this e-mail message has been swept for the
presence of computer viruses by Ironport. Before opening or using any
attachments, check them for viruses and defects.
Our liability is limited to resupplying any affected attachments.
HPA collects personal information to provide and market our services. For more
information about use, disclosure and access see our Privacy Policy at
www.hpa.com.au
**********************************************************************