Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 1996 15:35:18 +0200 (SAT)
From:      Robert Nordier <rnordier@iafrica.com>
To:        admin@quebecweb.com
Cc:        questions@freebsd.org
Subject:   Re: Direct mail program
Message-ID:  <199605281335.PAA00426@eac.iafrica.com>
In-Reply-To: <199605281200.IAA21879@quebecweb.com> from "admin@quebecweb.com" at May 28, 96 08:00:50 am

next in thread | previous in thread | raw e-mail | index | archive | help
admin@quebecweb.com wrote:
> 
> I run FreeBSD 2.0 on a PC machine.
> 
> I look for a perl or sh program that let a file
> being mailed to a recipient (xxx@www.zzz)
> 
> This must be a file because i take a string coming from the web
> and put it in a temporary file. I print a copy of the file
> before to send it by fax, 
> but cannot send it by mail because of the CTRL-D that is 
> necessary to send mail.
> 
> I need a perl of sh routine that mail the file 
> to a recipient 

Isn't the solution simpler than you suppose?

   mail xxx@www.zzz <file
   elm -s "Some subject" xxx@www.zzz <file
   ...

-- 
Robert Nordier



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605281335.PAA00426>