nmh-workers
[Top][All Lists]
Advanced

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

Re: [Nmh-workers] repl and mime handling


From: Andreas Wittkemper
Subject: Re: [Nmh-workers] repl and mime handling
Date: Tue, 17 Jan 2012 13:07:18 +0000
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.2.8) Gecko/20100804 Thunderbird/3.1.2

On 01/16/12 22:36, address@hidden wrote:
In the message dated: Mon, 16 Jan 2012 13:28:22 GMT,
The pithy ruminations from Andreas Wittkemper on
<Re: [Nmh-workers] Dealing with missing From: header during send.>  were:
=>  On 01/10/12 16:56, address@hidden wrote:
=>
=>
=>  >  It seems as if you're talking about composing a reply based on the
=>  >  identity of the received message.
=>  >
=>  >  I've been using a wrapper around "repl" for about 5 years that will parse
=>  >  the original message, match the identity against a list, and populate
=>  >  the reply (From:, Reply-To:, Fcc:, signature) as needed.
=>  >
=>  >  I'm happy to contribute this code (perl) to the list.
=>  >
=>  >  Mark
=>
=>  Does your extension do anything about the mime and attachments problem when 
you reply to those ?

I try to do a little--tiny--bit of MIME handling:

        check for a "text/html" part
        check for "application/*" parts

        if either is found, use:
                /usr/bin/mhshow -type text -type multipart -type message 
-nopause -nomoreproc
        to attempt to create a 'clean' message as the basis for the
        reply

this is semi-successful, crude, and far from universal.

Since the default way of doing the repl is basically broken for mime messages I 
would be interested in
your "crude" solution.
Guess it will take a while before better mime handling is implemented.

Andreas



Mark

=>  E.g. when you reply to mail with an attachment you will get everything 
quoted in your reply mail
=>  .
=>
=>  Andreas
=>
=>
=>  Verizon Deutschland GmbH - Sebrathweg 20, 44149 Dortmund, Germany - 
Amtsgericht Dortmund, HRB 14
=>  952 - Geschäftsführer: Detlef Eppig - Vorsitzender des Aufsichtsrats: 
Dominique Gaillard
=>
=>
=>
=>  _______________________________________________
=>  Nmh-workers mailing list
=>  address@hidden
=>  https://lists.nongnu.org/mailman/listinfo/nmh-workers
=>
=>



Verizon Deutschland GmbH - Sebrathweg 20, 44149 Dortmund, Germany - Amtsgericht 
Dortmund, HRB 14952 - Geschäftsführer: Detlef Eppig - Vorsitzender des 
Aufsichtsrats: Dominique Gaillard





reply via email to

[Prev in Thread] Current Thread [Next in Thread]