> > To attach a compressed tar file, say, /tmp/foobar.tgz, to an Email, I do > > something like: > > > > #application/octet-stream; \ > > type=tar; x-conversion=gzip; \ > > name=foobar.tgz /tmp/foobar.tgz > > > > Could somebody take pity on an old man and tell me what I would do to > > attach > > a zip file, say. /tmp/foobar.zip, to an Email? > > I'd just do > > #application/zip; name="foobar.zip" /tmp/foobar.zip
i'll attach a script i use for forwarding attachments. it handles the common binary types i use, plain files, and mail messages, based on interpreting its arguments. it produces the mhbuild input text necessary to do the forwarding on its stdout -- so, when composing mail in vi, i can type something like: :r !forward foobar.zip or even !!forward foobar.zip for files, or !!forward cur-last to forward messages. it's far from perfect, i'm sure, but it saves me trying to remember how to compose mhbuild lines by hand. paul =--------------------- paul fox, [EMAIL PROTECTED] (arlington, ma, where it's 37.9 degrees)
forward
Description: -
_______________________________________________ Nmh-workers mailing list Nmh-workers@nongnu.org http://lists.nongnu.org/mailman/listinfo/nmh-workers