On Tue, Feb 23, 1999 at 09:45:02 +0200, Eric Smith wrote:
> Hi
>
> This does not concern mutt, but I tried the relevant groups with no sucess,
> I guess this is sneaky but this group works so well for me so ...
>
>
> I am trying to extract binary attachments (say a .doc file or whatever)
> from a mail folder. This process must be automated in a script. Now my
> procmail correctly saves the message to a file but includes the headers and
> tail. What needs to be done is to chop the headers and tail off and then
> on the encoded bit only run `mimencode -u'. This all works fine manually.
>
> Question is, is there a script that will exclude the headers and tail and
> leave the (encoded) body? I may then run the `mimencode -u' on the remaining body.
I'm not sure precise what you want to do, but you could try if my
program newsbody can help you.
Find it at http://www.image.dk/~byrial/newsbody/
Regards,
- Byrial