----- Original Message -----
From: Stewart Stremler <[EMAIL PROTECTED]>
Date: Monday, April 4, 2005 5:00 pm
Subject: Re: minimum/smallest abilty to send email

> begin  quoting Steve Bibayoff as of Mon, Apr 04, 2005 at 
> 01:34:41PM -0700:
> > Hello,
> > 
> > On Apr 4, 2005 1:10 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > > I want to email simple text files from the command line.
> > > 
> > > What's the simplest/smallest setup I can use (not sendmail) to 
> allow use of the mail program from the command line to go to a server?
> > 
> > Not the simplest, but smallest:
> > 
> > % telnet mailhost 25
> > HELO
> > ....
> > etc
> 
> Heh. I was going to suggest this very thing. Oh, well...
> 
> Perhaps a simple expect script?

Yes, I'm working on my first expect script, very slick.  Haven't figured how to 
"import" a file (output from fortune) and send it as the message, however.  I 
tried the command option and just put fortune in, but then it just exits.

-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to