Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jul 2004 23:24:30 -0500
From:      Jay Moore <jaymo@cromagnon.cullmail.com>
To:        freebsd-questions@freebsd.org
Cc:        Murray Taylor <murraytaylor@bytecraftsystems.com>
Subject:   Re: How to send attached files on sendmail with mail tool?
Message-ID:  <200407202324.30211.jaymo@cromagnon.cullmail.com>
In-Reply-To: <1090197528.91088.68.camel@wstaylorm.dand06.au.bytecraft.au.com>
References:  <200407162036.i6GKaNt11099@www.plutao.lusodigital.net> <1090197528.91088.68.camel@wstaylorm.dand06.au.bytecraft.au.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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