Constant EMAIL_SENDER?

2 views
Skip to first unread message

oracius

unread,
May 18, 2008, 2:33:56 PM5/18/08
to web2py Web Framework
I am implementing a user authentication system in my web application
and I decided to look at the code for the identity appliance. I ran
into this line and in the code and I have not been able to find any
documentation on the constant used in the function call.

email(EMAIL_SENDER,form.vars.email,'registration',message)

I know that the email function comes from the email.py model file but
where does the constant EMAIL_SENDER come from?

Is this something from a standard Python package that I don't know
about? I am an experienced programmer but I am a newbie when it comes
to Python and web2py.

oracius

Massimo Di Pierro

unread,
May 18, 2008, 2:37:42 PM5/18/08
to web...@googlegroups.com
No. you are supposed to define it. It's your email address.

Massimo

oracius

unread,
May 18, 2008, 5:09:09 PM5/18/08
to web2py Web Framework
okay my bad :)
Reply all
Reply to author
Forward
0 new messages