[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Attaching a file with "mail"



On Thu, Apr 24, 2003 at 09:45:15AM -0400, Haines Brown wrote:
> > I didn't see somebody mentioning mpack which I use regularly if I just
> > want to send a file to somebody.
> > 
> > Regards.
> > Johann
> 
> I didn't want to recommend this until I had tested it with the d
> option to include a second text as well:
> 
> In theory one should be able to do:
> 
>   mpack d FileInCurrentDirectory AnotherFileinCurrentDirectory
>   email-address 

I have never the -d option before, but after your message I read the
manpage and tested it with 

mpack -d preferences  ultimate.sources.list.1 js@bywoner

from the the /etc/apt directory on "bywoner" and I received mail with
the contents of "preferences" in the body of the message and
"ultimate.sources.list.1" as an attachment.

This seems to be what the manpage had in mind.

Regards.
Johann
-- 
Johann Spies          Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

     "Nay, in all these things we are more than conquerors 
      through him that loved us."    Romans 8:37 



Reply to: