Mercurial > p > roundup > code
diff roundup/mailgw.py @ 1804:f83f240b0610
Send a message confirming the confirmation.
| author | Johannes Gijsbers <jlgijsbers@users.sourceforge.net> |
|---|---|
| date | Mon, 08 Sep 2003 21:18:56 +0000 |
| parents | 071ea6fc803f |
| children | 0fd4bb86c313 |
line wrap: on
line diff
--- a/roundup/mailgw.py Mon Sep 08 21:08:59 2003 +0000 +++ b/roundup/mailgw.py Mon Sep 08 21:18:56 2003 +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.130 2003-09-08 09:28:28 jlgijsbers Exp $ +$Id: mailgw.py,v 1.131 2003-09-08 21:18:56 jlgijsbers Exp $ """ import string, re, os, mimetools, cStringIO, smtplib, socket, binascii, quopri @@ -438,6 +438,10 @@ otk = otk_re.search(m.group('title')) if otk: self.db.confirm_registration(otk.group('otk')) + subject = 'Your registration to %s is complete' % \ + self.instance.config.TRACKER_NAME + sendto = [message.getaddrlist('from')[0][1]] + self.mailer.standard_message(sendto, subject, '') return elif hasattr(self.instance.config, 'MAIL_DEFAULT_CLASS') and \ self.instance.config.MAIL_DEFAULT_CLASS:
