Hah! I think I finally eliminate the first error by removing the files in 
/database folder of my application after each db drop. Many thanks to both 
Ron and Anthony!

I have tested the verification email bit again and again, using different 
email addresses and check both their inbox and spam folder, but absolutely 
nothing. I *don't* get the flash message in the browser for 
auth.messages.unable_send_email, but I *do *have new records in 
'user_login' ('auth_user') table for each new registered user!

Just some more details on my implementation, in addition to what I have in 
my model file 'account.py', I have the following in the controller file 
'account.py':

def register():
    """ 
    exposes: 
    http://..../[app]/account/register 
    """ 
    form = auth.register() 
    if form.process().accepted: 
        session.email = form.vars.email 
        session.password = form.vars.password 
        redirect(URL('registered')) 

    return dict(form=form)


here 'registered' is just a simple page for displaying a notification 
message after registration.


I also tried a simple string for the body content of the verification email:


auth.messages.verify_email = 'test test test'

but still no success.


The fact I am able to send email using the existing configuration of my 
running app in Web2py console shows that the cause of the problem may not 
have anything to do with the configuration... what could it be?!

Reply via email to