On Tue, Apr 17, 2012 at 02:29:26PM +0200, SK wrote: > Toby Cubitt wrote:
[..] > > In case you haven't already tried this, you can manually change the mime > > type of the attachment from the compose menu using <edit-type> (bound to > > ^T by default), and set it to "text/plain" > > That does not work for two reasons: > > - amazon does not recognise the forwarded attachment as "attachment" > for some reason If you forward the email as an attachment (look for mime_forward in the manual) you can prevent this. > - when I covert from message/rfc822 to text/plain, the whole msg > header part gets dumped in. To prevent this you would have to cut out the headers, which would be difficult with simple forwarding. > > Failing that, saving the mail you want to forward to a file with > > extension .txt, then attaching that file to a new mail, will both produce > > the desired file extension and automatically set the mime type to > > "text/plain" (assuming you have mime.types configured sanely). > > That works indeed. However it is a painful manual process. Any quick > way to automate it? Write a macro saving the message to a txt and composing a new email with the file attached. But be aware, this file will also contain the full headers. You would probably need a script to cut out the headers. Dennis