Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 2004 09:10:49 +0200 (CEST)
From:      Wojciech Puchar <wojtek@tensor.3miasto.net>
To:        Jay Moore <jaymo@cromagnon.cullmail.com>
Cc:        Murray Taylor <murraytaylor@bytecraftsystems.com>
Subject:   Re: How to send attached files on sendmail with mail tool?
Message-ID:  <20040721090847.F85700@chylonia.3miasto.net>
In-Reply-To: <200407202324.30211.jaymo@cromagnon.cullmail.com>
References:  <200407162036.i6GKaNt11099@www.plutao.lusodigital.net> <1090197528.91088.68.camel@wstaylorm.dand06.au.bytecraft.au.com> <200407202324.30211.jaymo@cromagnon.cullmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> >
> > cat file | uuencode tgt_filname | mail -s "subject" test@example.com

uuencode <tgt_filname | mail -s "subject" test@example.com

instead of cat. less one unneeded piping.

> >
> > 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.
>

i think windoze just can't decode uuencoded attachments right.

it only supports base64 right.

metamail will be useful, possibly

/usr/local/bin/encode-base64 was installed by package p5-MIME-Base64-2.21



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