diff roundup/roundupdb.py @ 4541:62239a524beb

PGP support is again working (pyme API has changed significantly)... ...and we now have a regression test. We now take care that bounce-messages for incoming encrypted mails or mails where the policy dictates that outgoing traffic should be encrypted is actually pgp-encrypted. Note that the new pgp encrypt option for outgoing mails works only for bounces for now.
author Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
date Fri, 07 Oct 2011 14:21:57 +0000
parents 29576edb45d5
children 46239c21a1eb
line wrap: on
line diff
--- a/roundup/roundupdb.py	Thu Oct 06 21:02:09 2011 +0000
+++ b/roundup/roundupdb.py	Fri Oct 07 14:21:57 2011 +0000
@@ -429,8 +429,8 @@
             # create the message
             mailer = Mailer(self.db.config)
 
-            message = mailer.get_standard_message(sendto, subject, author,
-                multipart=message_files)
+            message = mailer.get_standard_message(multipart=message_files)
+            mailer.set_message_attributes(message, sendto, subject, author)
 
             # set reply-to to the tracker
             message['Reply-To'] = tracker_name

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