diff roundup/mailgw.py @ 339:4e39e26ede38

Case-insensitive match for ISSUE_TRACKER_EMAIL in address in e-mail.
author Richard Jones <richard@users.sourceforge.net>
date Tue, 30 Oct 2001 11:26:10 +0000
parents 8cd545738d8e
children ab16997d9cda
line wrap: on
line diff
--- a/roundup/mailgw.py	Tue Oct 30 00:58:12 2001 +0000
+++ b/roundup/mailgw.py	Tue Oct 30 11:26:10 2001 +0000
@@ -72,7 +72,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.26 2001-10-30 00:54:45 richard Exp $
+$Id: mailgw.py,v 1.27 2001-10-30 11:26:10 richard Exp $
 '''
 
 
@@ -251,8 +251,9 @@
         #
         author = self.db.uidFromAddress(message.getaddrlist('from')[0])
         recipients = []
+        tracker_email = self.ISSUE_TRACKER_EMAIL.lower()
         for recipient in message.getaddrlist('to') + message.getaddrlist('cc'):
-            if recipient[1].strip().lower() == self.ISSUE_TRACKER_EMAIL:
+            if recipient[1].strip().lower() == tracker_email:
                 continue
             recipients.append(self.db.uidFromAddress(recipient))
 
@@ -444,6 +445,12 @@
 
 #
 # $Log: not supported by cvs2svn $
+# Revision 1.26  2001/10/30 00:54:45  richard
+# Features:
+#  . #467129 ] Lossage when username=e-mail-address
+#  . #473123 ] Change message generation for author
+#  . MailGW now moves 'resolved' to 'chatting' on receiving e-mail for an issue.
+#
 # Revision 1.25  2001/10/28 23:22:28  richard
 # fixed bug #474749 ] Indentations lost
 #

Roundup Issue Tracker: http://roundup-tracker.org/