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.

-- 
Lan Barnes                    [EMAIL PROTECTED]
Linux Guy, SCM Specialist     858-354-0616
-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to