[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: replacement for mail command



On 2004-03-28, Dafydd Blaidd <dafydd@midrealm.org> wrote:
> Greetings,
> 	I switched from a system on Red Hat using Sendmail/Cyrus to a
> system using Exim/uw-imapd and I'm looking for a replacement for the mail
> command.  Specifically, I'm looking for a command line mailer that allows
> Subject: and Cc: header arguements.
>
> Recommendations?

mutt. Yes, normally it is used interactively, but it provides a wealth
of options that mean this can be automated:

	date | mutt -s "hello" -c person@on.cc normal@recipient

or 

	mutt -s "hello" -c person@on.cc -i pre-prepared.contents.file normal@recipient < /dev/null

Alexis



Reply to: