This one time, at band camp, Voytek Eymont wrote:
>
>On Fri, March 31, 2006 3:25 am, Matthew Hannigan wrote:
>> On Thu, Mar 30, 2006 at 10:55:05PM +1100, Jamie Wilkinson wrote:
>>> This one time, at band camp, Voytek Eymont wrote:
>
>thanks, Matt, Jamie
>
>>> turn off the MTA, and set an at job to turn it on again.
>
>that might bring undesired conequences, I'm not the only mail user here
>
>> Or use at directly of course; compose the messages in a
>> plain old file and then:
>>
>> $ at 9am tomorrow
>> mail -s your-subject -c cc-list -b bcc-list [EMAIL PROTECTED] <
>> your-plain-old-file <hit ctrl-d here>
>
>> You use mutt (and other clients such as nail) instead
>> of 'mail'.  They all take the same command line options.
>
>is there a way to put all address/subject/stuff in one file ?

Yeah.

Compose the mail and pipe it straight into sendmail:

% sendmail -t -i -f [EMAIL PROTECTED] <<EOF
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: test

test
EOF

-t tells sendmail it's injecting into the queue, -i says not to stop at a
'.' by itself on a line, instead waiting for the end of input, and the -f
sets the envelope sender, which is important if your username+hostname
combination is not your address.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to