On Thu, Mar 27, 2008, Nico Kadel-Garcia wrote:
>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.
The ``mpack'' I find with a Google search is a rather nasty piece
of malware.
Unless your mpack generates proper multipart MIME, the e-mail
files will be difficult to handle with any modern mail client
(uuencode is also deprecated).
Bill
--
INTERNET:
bill@celestial.com Bill Campbell; Celestial Software LLC
URL:
http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
During times of universal deceit, telling the truth becomes
a revolutionary act. --George Orwell