Hi,

I redefined auth.register with some "extra_fields" as the email
field for example.

But now I have a "Target receiver address not specified" because
I guess that the db.auth_user.email remains empty.

I'd like to ask if I have to redefine mail.send to make it works
or is there a simpler way to achieve this ? Like something like :

mail.settings.to = db.auth_user.email_address (which is my field)

which does not work as mail.settings has no to attribute.

Thanks you,

-- 
“One original thought is worth a thousand mindless quotings.”
“Le vrai n'est pas plus sûr que le probable.”

                                              Diogene Laerce


-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to