@@ -73,7 +73,7 @@ class node. Any parts of other types are each stored in separate files
7373an exception, the original message is bounced back to the sender with the
7474explanatory message given in the exception.
7575
76- $Id: mailgw.py,v 1.74 2002-05-29 01:16:17 richard Exp $
76+ $Id: mailgw.py,v 1.74.2.1 2002-07-22 22:03:01 richard Exp $
7777'''
7878
7979
@@ -595,6 +595,16 @@ def handle_message(self, message):
595595 name = mailmess .getheader ('subject' )
596596 part .fp .seek (i )
597597 attachments .append ((name , 'message/rfc822' , part .fp .read ()))
598+ elif subtype == 'multipart/alternative' :
599+ # probably from outlook express - get the text/plain
600+ # alternative
601+ while 1 :
602+ p = part .getPart ()
603+ if p is None :
604+ break
605+ if p .gettype () == 'text/plain' :
606+ content = self .get_part_data_decoded (p )
607+ break
598608 else :
599609 # try name on Content-Type
600610 name = part .getparam ('name' )
@@ -765,6 +775,18 @@ def parseContent(content, keep_citations, keep_body,
765775
766776#
767777# $Log: not supported by cvs2svn $
778+ # Revision 1.74 2002/05/29 01:16:17 richard
779+ # Sorry about this huge checkin! It's fixing a lot of related stuff in one go
780+ # though.
781+ #
782+ # . #541941 ] changing multilink properties by mail
783+ # . #526730 ] search for messages capability
784+ # . #505180 ] split MailGW.handle_Message
785+ # - also changed cgi client since it was duplicating the functionality
786+ # . build htmlbase if tests are run using CVS checkout (removed note from
787+ # installation.txt)
788+ # . don't create an empty message on email issue creation if the email is empty
789+ #
768790# Revision 1.73 2002/05/22 04:12:05 richard
769791# . applied patch #558876 ] cgi client customization
770792# ... with significant additions and modifications ;)
0 commit comments