aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/acit/imapplugin.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/acit/imapplugin.py b/src/acit/imapplugin.py
index 9a6e8df..2ceb0a1 100644
--- a/src/acit/imapplugin.py
+++ b/src/acit/imapplugin.py
@@ -511,10 +511,12 @@ class ImapPlugin(plugins.SimplePlugin):
headers={}
self.smtp.format_reply_headers(replyto=self.get_newest_from_mailbox(mailbox,proj,bugid), tosend=headers)
+ bugobj=self.site.getbug(proj,bugid)
+
self.smtp.sendmail(
from_=from_,
to=msg.from_,
- subject="Secure token generated for %s/%d"%(proj,bugid),
+ subject="Re: "+bugobj.subject+" [SECURED]",
save=False,
body="Please reply to this email to use your token, or use the email address:\n "+from_,
extraheaders=headers