web/controller.py
branchstable
changeset 7879 9aae456abab5
parent 7432 cab99ccdb774
child 8190 2a3c1b787688
child 8254 eff5b930998d
--- a/web/controller.py	Tue Sep 27 16:04:30 2011 +0200
+++ b/web/controller.py	Wed Sep 28 09:27:42 2011 +0200
@@ -114,7 +114,7 @@
                           [recipient], body, subject)
         if not self._cw.vreg.config.sendmails([(msg, [recipient])]):
             msg = self._cw._('could not connect to the SMTP server')
-            url = self._cw.build_url(__message=msgid)
+            url = self._cw.build_url(__message=msg)
             raise Redirect(url)
 
     def reset(self):