[TriLUG] How can I send mail without a client ?

Dan Monjar daniel.monjar at na.biomerieux.com
Fri Jun 20 15:58:03 EDT 2003


--On Friday, June 20, 2003 03:52:57 PM -0400 Ryan Leathers 
<ryan.leathers at globalknowledge.com> wrote:

> I would like to send emails based on events in logs and so on.
> I have no trouble selecting events in an automated way.
> I bet I can also format text to conform to some convention.
>
> This needs to be unattended - automatic - magic.
> What is a simple way to send this email without writing code?
> What do non-programmers use to solve this kind of thing?
> Telnet to port 25 of some mail server?
>
> --
> Ryan Leathers <ryan.leathers at globalknowledge.com>
> Global Knowledge

mutt can do it... check out the '-x' flag:

 mutt -x -s 'bashrc' < .bashrc  daniel.monjar at na.biomerieux.com

--
Daniel Monjar
IS Manager, Technical Services
bioMérieux, Inc.
Durham, NC US



More information about the TriLUG mailing list