iro/controller/viewinterface.py
branchdevel
changeset 199 1bcca1a40769
parent 198 85ede27b1add
child 200 01c34f22be42
--- a/iro/controller/viewinterface.py	Tue Feb 28 01:44:11 2012 +0100
+++ b/iro/controller/viewinterface.py	Tue Feb 28 01:45:05 2012 +0100
@@ -100,8 +100,8 @@
         d.addCallback(ret)
         return d
 
-    @validate(kwd="recipients",func=vEmail)
-    @validate(kwd="frm",func=vEmail)
+    @validate(kwd="recipients",func=vEmail, allowString=False)
+    @validate(kwd="frm",func=vEmail, need=False, allowList=False)
     @vUser
     @vRoute(typ="mail")
     def mail(self, user, subject, body, recipients, frm=None, route="default", info=""):