At 11:39 PM 12/27/99 +0100, Anthony E. Greene wrote:
>Rick Shank wrote:
>>
>> How can I send a mail from the command line, if I have a txt file w/ the
>> message, and a known list of attachments? I want this to run in a script
>> with no user intervention.
>
>[snip]
>For a more robust solution you'll need to use mmencode for MIME base64
>encoding and have the script construct the MIME headers in the message. The
>attached script wilkl work for a single attachment. You should be able to
>alter it to accept multiple attachments.
There is a script called 'sendfiles' (man sendfiles) that does this. I
don't know much about it; it looks like part of a larger package. However
it wants to really fragment your attachments (like 91 parts for 2MB
attachment).
-Alan
---
Alan D. Mead / Research Scientist / [EMAIL PROTECTED]
Institute for Personality and Ability Testing
1801 Woodfield Dr / Savoy IL 61874 USA
217-352-4739 (v) / 217-352-9674 (f)
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.