Mercurial > p > roundup > code
diff roundup/mailgw.py @ 595:4c3dcda799f7
add test for multipart messages with first part being encoded.
| author | Engelbert Gruber <grubert@users.sourceforge.net> |
|---|---|
| date | Mon, 04 Feb 2002 09:40:21 +0000 |
| parents | 82555a1429d0 |
| children | 08aae4d34622 |
line wrap: on
line diff
--- a/roundup/mailgw.py Fri Feb 01 07:43:12 2002 +0000 +++ b/roundup/mailgw.py Mon Feb 04 09:40:21 2002 +0000 @@ -73,7 +73,7 @@ an exception, the original message is bounced back to the sender with the explanatory message given in the exception. -$Id: mailgw.py,v 1.60 2002-02-01 07:43:12 grubert Exp $ +$Id: mailgw.py,v 1.61 2002-02-04 09:40:21 grubert Exp $ ''' @@ -495,6 +495,8 @@ # assume first part is the mail encoding = part.getencoding() if encoding == 'base64': + # BUG: is base64 really used for text encoding or + # are we inserting zip files here. data = binascii.a2b_base64(part.fp.read()) elif encoding == 'quoted-printable': # the quopri module wants to work with files @@ -775,6 +777,9 @@ # # $Log: not supported by cvs2svn $ +# Revision 1.60 2002/02/01 07:43:12 grubert +# . mailgw checks encoding on first part too. +# # Revision 1.59 2002/01/23 21:43:23 richard # tabnuke #
