[web2py] Re: gmail smtp and password retrieval

2022-08-17 Thread jonatha...@whatho.net
I'm using web2py 2.22.3. My only email settings in db.py are are: ## configure email mail=auth.settings.mailer mail.settings.server = 'smtp.gmail.com:587' mail.settings.sender = '@gmail.com' mail.settings.login = '@gmail.com:' The length 16 password is the app pass

[web2py] Re: gmail smtp and password retrieval

2022-08-17 Thread lucas
i am using web2py 2.22.5 using the wsgihandler.py handler and nginx under centos 8 stream all current and updated and rebooted. i don't understand all of the stuff from massimo On Wednesday, August 17, 2022 at 8:54:22 PM UTC-4 lucas wrote: > i'm wondering. do i have to retrieve or generate th

[web2py] Re: gmail smtp and password retrieval

2022-08-17 Thread lucas
i'm wondering. do i have to retrieve or generate the 16 digit password from the app itself. cuz i don't know how to do that since it is purely a linux console only interface. On Wednesday, August 17, 2022 at 12:18:16 PM UTC-4 lucas wrote: > nope, and i regenerated a new password just to be su

[web2py] Re: gmail smtp and password retrieval

2022-08-17 Thread lucas
nope, and i regenerated a new password just to be sure and restarted the server daemons also. just in case appconfig is only loaded once. On Wednesday, August 17, 2022 at 12:15:52 PM UTC-4 Clemens wrote: > Hm, one last guess: ssl false, tls true and port 587. > > On Wednesday, August 17, 2

[web2py] Re: gmail smtp and password retrieval

2022-08-17 Thread Clemens
Hm, one last guess: ssl false, tls true and port 587. On Wednesday, August 17, 2022 at 6:12:50 PM UTC+2 lucas wrote: > nope, that didn't work either. uhm. > > On Wednesday, August 17, 2022 at 12:08:12 PM UTC-4 Clemens wrote: > >> Hmm, should work, since it's the right port for ssl. Maybe

[web2py] Re: gmail smtp and password retrieval

2022-08-17 Thread lucas
nope, that didn't work either. uhm. On Wednesday, August 17, 2022 at 12:08:12 PM UTC-4 Clemens wrote: > Hmm, should work, since it's the right port for ssl. Maybe setting tls to > false could make it work, since the tls port is 587. > > Have a try! Hope it helps! > > Clemens > > On Wednesda

[web2py] Re: gmail smtp and password retrieval

2022-08-17 Thread Clemens
Hmm, should work, since it's the right port for ssl. Maybe setting tls to false could make it work, since the tls port is 587. Have a try! Hope it helps! Clemens On Wednesday, August 17, 2022 at 5:57:56 PM UTC+2 lucas wrote: > oh, so the latter is still not sending the Lost Password. > > On We

[web2py] Re: gmail smtp and password retrieval

2022-08-17 Thread lucas
oh, so the latter is still not sending the Lost Password. On Wednesday, August 17, 2022 at 11:54:38 AM UTC-4 lucas wrote: > ok, i turned on 2-step verification, generated 1 password for "App > passwords" that gave me a 16 character string which i copied into the > password location under privat

[web2py] Re: gmail smtp and password retrieval

2022-08-17 Thread lucas
ok, i turned on 2-step verification, generated 1 password for "App passwords" that gave me a 16 character string which i copied into the password location under private/appconfig.ini: server = smtp.gmail.com:465 sender = professor8...@gmail.com login = 'professor8...@gmail.com:eakwlqljrsdeyj16'

[web2py] Re: gmail smtp and password retrieval

2022-08-17 Thread Clemens
Generate an app password, as follows: https://support.google.com/mail/answer/185833?hl=en This should solve it, hopefully. Regards Clemens On Wednesday, August 17, 2022 at 5:20:49 PM UTC+2 lucas wrote: > hey one and all, > > on May 5th, 2022, gmail imposed the 2 step verification on its smtp >