[H-GEN] Re: your mail

Anthony Towns aj at azure.humbug.org.au
Thu Jul 2 03:46:12 EDT 1998


On Thu, Jul 02, 1998 at 04:53:54PM +1000, Luke Grant wrote:
> 	Could any of you please tell me what i would need to put in a
> script to make it send an attachment on a file.

$ dpkg -S `which mpack`
mpack: /usr/bin/mpack
$ dpkg -s mpack | grep -E '^(Description| )'
Description: Tools for encoding/decoding MIME messages.
 Mpack and munpack are utilities for encoding and decoding
 (respectively) binary files in MIME (Multipurpose Internet
 Mail Extensions) format mail messages. For compatibility
 with older forms of transferring binary files, the munpack
 program can also decode messages in split-uuencoded format.

$ echo hello > msg.txt
$ mpack -s test msg.txt aj at azure.humbug.org.au
You have mail in /var/spool/mail/aj
$ _

Cheers,
aj

-- 
Anthony Towns <aj at humbug.org.au> <http://azure.humbug.org.au/~aj/>
I don't speak for anyone save myself. PGP encrypted mail preferred.

      ``It's not a vision, or a fear. It's just a thought.''
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 434 bytes
Desc: not available
URL: <http://lists.humbug.org.au/pipermail/general/attachments/19980702/2c387a06/attachment.sig>


More information about the General mailing list