diff roundup/roundupdb.py @ 1321:328d68db2ef8

- detect and break email loops [SF#640854]
author Richard Jones <richard@users.sourceforge.net>
date Tue, 10 Dec 2002 00:23:36 +0000
parents b2d04ce03802
children b1f86cc82d33
line wrap: on
line diff
--- a/roundup/roundupdb.py	Tue Dec 10 00:11:16 2002 +0000
+++ b/roundup/roundupdb.py	Tue Dec 10 00:23:36 2002 +0000
@@ -15,7 +15,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 # 
-# $Id: roundupdb.py,v 1.73 2002-11-05 22:59:46 richard Exp $
+# $Id: roundupdb.py,v 1.74 2002-12-10 00:23:36 richard Exp $
 
 __doc__ = """
 Extending hyperdb with types specific to issue-tracking.
@@ -239,6 +239,9 @@
         # add a uniquely Roundup header to help filtering
         writer.addheader('X-Roundup-Name', self.db.config.TRACKER_NAME)
 
+        # avoid email loops
+        writer.addheader('X-Roundup-Loop', 'hello')
+
         # attach files
         if message_files:
             part = writer.startmultipartbody('mixed')

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