summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5b453f9)
raw | patch | inline | side by side (parent: 5b453f9)
author | jlgijsbers <jlgijsbers@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 8 Sep 2003 21:18:56 +0000 (21:18 +0000) | ||
committer | jlgijsbers <jlgijsbers@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 8 Sep 2003 21:18:56 +0000 (21:18 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1871 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/mailgw.py | patch | blob | history |
diff --git a/roundup/mailgw.py b/roundup/mailgw.py
index f6822aa0a33e4eb75e5cbfa37a6d1e04f3f39a0c..afa95873234c92163fbb262075789c18738010a7 100644 (file)
--- a/roundup/mailgw.py
+++ b/roundup/mailgw.py
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
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: