Re: mutt -a redirect On 27 Mar, 12:17, Jeff Hyman <scol...@cactus.com> wrote:
> MUTT shell script question: * *SCO 5.0.6 * *mutt v1.5.3i
>
> :
> mutt -s "SUBJECT HEADER" *-a file.pdf *-c b...@dealer.com *j...@customer.com
> exit
>
> Objective: Not having to interact with 'mutt'.
> * * * * * *Ability to "attach" a PDF file
>
> The above example, when executed, goes into an interactive mode.
> mutt -s "SUBJECT HEADER" j...@customer.com < file.pdf *
> This example does not solve the -[a]ttachment PDF issue.
>
> Any ideas? *
> - Jeff H
Don't use mutt. Use the "mpack" utility to generate concatenatable
files, and feed them to /bin/mail. Using a complex and pecular mail
client such as mutt for system operations and non-interactice
operations is begging for pain. |