Mercurial > p > roundup > code
diff roundup/mailgw.py @ 2345:c15544c3a86a maint-0.6
*** empty log message ***
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 20 May 2004 00:16:37 +0000 |
| parents | e295c086c246 |
| children |
line wrap: on
line diff
--- a/roundup/mailgw.py Thu May 20 00:10:10 2004 +0000 +++ b/roundup/mailgw.py Thu May 20 00:16:37 2004 +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.126.2.5 2004-05-20 00:10:10 richard Exp $ +$Id: mailgw.py,v 1.126.2.6 2004-05-20 00:16:37 richard Exp $ """ import string, re, os, mimetools, cStringIO, smtplib, socket, binascii, quopri @@ -817,7 +817,7 @@ data = self.get_part_data_decoded(part) attachments.append((name, part.gettype(), data)) - elif content_type in ('multipart/alternative', 'multipart/signed'): + elif content_type in ('multipart/related', 'multipart/alternative', 'multipart/signed'): message.getPart() content = None while 1:
