----- Original Message ----- From: Lan Barnes <[EMAIL PROTECTED]> Date: Monday, April 4, 2005 2:33 pm Subject: Re: minimum/smallest abilty to send email
> On Mon, Apr 04, 2005 at 02:21:54PM -0700, Dave wrote: > > 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? > > > > If it doesn't need to be an attachment, try > > cat file.txt | mail -s "This is your subject" [EMAIL PROTECTED] > > Worked for me. > > I was going to suggest looking in the Perl Cookbook for the > minimal mail > routines. This may be more than Rich needs, or he may be able to hack > himself a basic mail utility that just fits his needs. Do you have sendmail running? I don't and would rather not have it running. -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
