the problems is there Mail.send failure:login() takes exactly 3
arguments (2 givens)
form=SQLFORM(db.message,fields=['your_name','your_email','your_message'])
> if form.accepts(request.vars,session):
>asunto='cfgroup message from '+form.vars.your_name
> from gluon.tools import
my app work, but don't send the email, it send me a message tell me it
work sucesfull, but don't send the email.
here is my code
form=SQLFORM(db.message,fields=['your_name','your_email','your_message'])
if form.accepts(request.vars,session):
asunto='cfgroup message from '+form.vars.you
thank friend, I follow the example in the web2py book, and in that is
wrote from gluon.tool import Mail
On Apr 8, 9:41 am, hywang wrote:
> from gluon.tool import Mail
> should be
> from gluon.tools import Mail
>
> On 4月8日, 下午9时38分, kike wrote:
>
> > I have a problem with the function Mail, w
from gluon.tool import Mail
should be
from gluon.tools import Mail
On 4月8日, 下午9时38分, kike wrote:
> I have a problem with the function Mail, when I used it the send me
> the following error:
>
> Traceback (most recent call last):
> File "/home/kike/web2py/gluon/restricted.py", line 173, in
>
4 matches
Mail list logo