Hello,

I have had the same issue trying to send email using Web2Py server.
This is not  mere luxury, emails are needed for a robust authentication 
process which Web2Py offers, IF one can send emails from W2P...

Seems the problem is with GMAIL as other have noted before, on this and on 
other blogs.
I have tried all the possible combinations of port with TLS and etc...

Nothing worked and some combinations actually caused Web2Py server to 
crash...

Eventually - went to https://mandrillapp.com/ and got SMTP service (for 
free).
It takes literally 5 minutes to register with these guys get SMTP 
definitions that you can then use in Web2Py  and it works !!!

Disclaimer - I have *nothing* to do with this company mandrillapp. I have 
actually got the name from one of the links that Alan Etkin has posted a 
few days ago.
Hope it helps


On Monday, January 6, 2014 6:04:06 PM UTC-5, Cliff Kachinske wrote:
>
> On webfaction you can set up an email account and access it directly from 
> within web2py, thus eliminating the transmission to gmail.
>
> On Saturday, January 4, 2014 3:40:11 AM UTC-5, Akash Agrawall wrote:
>>
>> Hie folks.. I know this question is already been asked but I didn't get 
>> any help from those answers..... please hava look at this.... 
>> I am unable to send email in server(to be specific webfaction.com) ...
>> but it's running fine on local host
>> all these three lines in db.py are set to true.
>> auth.settings.registration_requires_verification = True
>> auth.settings.registration_requires_approval = True 
>> auth.settings.reset_password_requires_verification = True 
>>
>>  When I complete the registration form a flash appears on the top-right 
>> corner of the page with a flash message "Unable to send mail"
>> These are the settings of the mail server in db.py 
>>
>> mail = auth.settings.mailer
>> mail.settings.server = 'smtp.gmail.com:587'
>> mail.settings.sender = 'fakeid...@gmail.com'
>> mail.settings.tls = False
>> mail.settings.login ='fakeid425s...@gmail.com:secret'
>>
>>
>>

-- 
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/groups/opt_out.

Reply via email to