aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Message.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-08-01Mailman no longer folds long sub-part headers in multipart messages.Mark Sapiro1-2/+37
In addition, Mailman no longer escapes From_ lines in the body of messages sent to regular list members, although MTA's may do it anyway. This is to avoid breaking signatures per Bug #265967. Changes include - Message.py, added a Generator class to avoid header folding and an as_string() method wirth a mangle_from_ argument. - Mailbox.py, uses new Message.Generator class. - SMTPDirect.py, uses as_string(mangle_from_=False) to flatten message. - Scrubber.py, removed unused ScrubberGenerator class.
2007-06-29There is a bug in email 2.5.8 and possibly others, but not in 4.0.1 orMark Sapiro1-1/+9
4.0.2 that causes email.Utils.getaddresses() to return a spurious (name, address) tuple if the supplied argument is multi-line. The actual bug is in email.Utils.parseaddr(), but the manifestation in Message.py is in the use of getaddresses() in get_sender() and get_senders(). This fix works around the bug by passing the header field values through Mailman.Utils.oneline().
2006-03-06Changed email package to 2.5.7. Backed out workaround set_payload() methodmsapiro1-12/+1
from Message.py
2006-01-29Wrapping set_payload() to encode contents into qp/base64 upon setting.tkikuchi1-0/+11
This incorporates Python email patch: http://sourceforge.net/tracker/?func=detail&aid=1409455&group_id=5470&atid=105470 and eventually be backed out if email package is updated.
2005-12-30A cleansing pass, almost entirely cosmetic. Such things as whitespacebwarsaw1-2/+3
normalization, removal of tabs, copyright year updates to changed files, docstring and comment fixes, and usage of True/False. I also made a pass through the NEWS file. One import was reordered, and after this commit I will move the mmdsr.readme file to README.mmdsr. From my perspective, after that we're ready to go. I will port these changes forward to the trunk.
2005-12-06Looks like this set of Error is more appropriate.tkikuchi1-1/+1
2005-11-27email.Message.Message.get_filename() is wrapped because error in thistkikuchi1-0/+10
function may stop regular delivery.
2005-08-27FSF office has moved to 51 Franklin Street.tkikuchi1-1/+1
2005-04-29get_content_charset(): This is fixed in email-2.5.6 so remove it from herebwarsaw1-19/+1
because it's better not to have redundant code.
2005-04-25Add TypeError for possible error when checking charset availablity.tkikuchi1-1/+1
2005-04-22Brushing up the override function.tkikuchi1-4/+13
2005-04-21get_content_charset() should return failobj on error.tkikuchi1-0/+9
2003-03-31Backporting from trunkbwarsaw1-6/+9