Nevermind... my virus scanner was blocking SMTP access from Python -_-

On Feb 9, 11:47 am, minh <[email protected]> wrote:
> Hi,
>
> I am having problems with the e-mail verification while running on my
> local dev instance.
>
> Here are my settings:
>
> mail=Mail(globals())                                  # mailer
> mail.settings.server='smtp.gmail.com:587'    # your SMTP server
> mail.settings.sender='[email protected]'         # your email
> mail.settings.login='[email protected]:PASSWORD'      # your
> credentials or None
> auth.settings.mailer=mail                    # for user email
> verification
> auth.settings.registration_requires_verification = True
> auth.settings.registration_requires_approval = False
>
> Obviously I replace USERNAME/PASSWORD with the appropriate values.
> When I try to register a new user account, I get the 'Unable to send
> email' message.
>
> Am I missing something?
>
> Thanks,
> Minh

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to