In my web2py app if the app is deployed on local host its is able to send verification email. But on python anywhere it tells the user unable to send email. How ever python anywhere is able to send email for forgot password to registered users. here are my settings in db.py :
## configure email
mail = auth.settings.mailer
mail.settings.server = 'smtp.gmail.com:587'
mail.settings.sender = 'username@gmail.com'
mail.settings.login = 'username:password'
## configure auth policy
auth.settings.registration_requires_verification = True
auth.settings.registration_requires_approval = False
auth.settings.reset_password_requires_verification = True
any ideas