From owner-freebsd-questions@FreeBSD.ORG Wed Jul 21 04:20:26 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0DADD16A4CE for ; Wed, 21 Jul 2004 04:20:26 +0000 (GMT) Received: from cromagnon.cullmail.com (cromagnon.cullmail.com [67.33.58.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id B149F43D2D for ; Wed, 21 Jul 2004 04:20:25 +0000 (GMT) (envelope-from jamoore@cromagnon.cullmail.com) Received: from cromagnon.cullmail.com (localhost.cullmail.com [127.0.0.1]) i6L4OXtg087475; Tue, 20 Jul 2004 23:24:38 -0500 (CDT) (envelope-from jamoore@cromagnon.cullmail.com) Received: from localhost (localhost [[UNIX: localhost]]) by cromagnon.cullmail.com (8.12.10/8.12.10/Submit) id i6L4OUwU087474; Tue, 20 Jul 2004 23:24:30 -0500 (CDT) (envelope-from jamoore) From: Jay Moore To: freebsd-questions@freebsd.org Date: Tue, 20 Jul 2004 23:24:30 -0500 User-Agent: KMail/1.6.1 References: <200407162036.i6GKaNt11099@www.plutao.lusodigital.net> <1090197528.91088.68.camel@wstaylorm.dand06.au.bytecraft.au.com> In-Reply-To: <1090197528.91088.68.camel@wstaylorm.dand06.au.bytecraft.au.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200407202324.30211.jaymo@cromagnon.cullmail.com> cc: carla.neves@nereus.pt cc: Murray Taylor Subject: Re: How to send attached files on sendmail with mail tool? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jaymo@cromagnon.cullmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jul 2004 04:20:26 -0000 On Sunday 18 July 2004 07:38 pm, Murray Taylor wrote: > > cat file | uuencode tgt_filname | mail -s "subject" test@example.com > > You can send .tgz, .tar.gz, .xls, .csv, ... files using this method.. > > Ie any file at all as the uuencode does all the necessaries to make the > file into 7bit ascii. > > subject can be derived from shell script variables if necessary. Do you have to do a uudecode on the receiving end to recover the file? I tried this - sending a pdf file from this FreeBSD system to a Windoze user that gets mail via POP - it didn't work. The filename came through, and it was listed as an attachment, but there was nothing useful in the file. Jay