On 01/16/2009 08:40 PM, Mark Sapiro wrote:
Note that just sticking the header and footer as additional parts into an original multipart, not_mixed message can't be arbitrarily done. Clearly, if the original is multipart/alternative, this won't work and if it is multipart/signed, it would probably break the signature anyway.

I completely agree.

In any case, the only multipart structure we know for sure we can safely insert extra parts into is multipart/mixed, so we only do it if the original is multi-part mixed. If you think this is wrong, I suggest continuing this thread on mailman-develop...@python.org.

As nice as it would be to possibly do something else, I think that Mailman (or at least the above logic) is very sound. I would love to see another option, possibly like some alteration of text/plain and / or text/html in side of a multipart/alternative block, but then again, that is a lot of work, some of which may be extremely futile and possibly break the html code in the text/html part to a point that it completely messes up the message. Further, you should not alter one multipart/alternative and not others, so this effectively means that you don't alter any of them.



Grant. . . .
------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9

Reply via email to