Re: [web2py] Re: How to debug "lost password"

2020-08-29 Thread Dave S
On Monday, August 24, 2020 at 12:32:43 AM UTC-7, Jonsubs wrote: > > Hi Jim, > Actually I thought I did not need to "send" the mail myself. I thought the > framework took care of it. > > But I think I'll try to send the email in some part of the application to > test if everything is ok. Thanks

Re: [web2py] Re: How to debug "lost password"

2020-08-24 Thread Jon Subscripted
Hi Jim, Actually I thought I did not need to "send" the mail myself. I thought the framework took care of it. But I think I'll try to send the email in some part of the application to test if everything is ok. Thanks for the suggestion Jim. I'll try it and get back to you. Thanks, Jon. On Sat, Au

Re: [web2py] Re: How to debug "lost password"

2020-08-22 Thread Jim S
Everything there is looking just right. The only thing you haven't shared is the mail send line in your web2py app. I haven't used appconfig.ini so can't answer that question. Have you tried both ways or tried coding the values directly into your python script? -Jim On Saturday, August 22, 2

Re: [web2py] Re: How to debug "lost password"

2020-08-22 Thread Jon Subscripted
Hi Jim, My configuration for appconfig.ini is the following: ; smtp address and credentials [smtp] server = mail.xakemate.eus:25 sender = ad...@xakemate.eus login = ad...@xakemate.eus:*** tls= false ssl= false When I try the following script (from my laptop) it does work. import smt

Re: [web2py] Re: How to debug "lost password"

2020-08-21 Thread Jim S
Hey Jon, I should have been more specific. What I was looking for was the actual server and port you're accessing for the mail server. Looks like it is stored in your config. Is that mail server accessible from you workstation? Can you telnet to it using the settings in the config file? -Ji

Re: [web2py] Re: How to debug "lost password"

2020-08-21 Thread Jon Subscripted
Hi everyone, Whe I run my web2py app locally (in my desktop in 127.0.0.1:8000) I get the following message: '08/21/2020 11:48:56 AM' - web2py - WARNING - Mail.send failure:please run connect() first What does it mean? Thanks, Jon. On Fri, Aug 21, 2020 at 11:45 AM Jon Subscripted wrote: > Hi Ji

Re: [web2py] Re: How to debug "lost password"

2020-08-21 Thread Jon Subscripted
Hi Jim, It looks like this (see below): # - # configure email # - mail = auth.settings.mailer mail.settings.server = configuration.get('smtp.server') #'lo

[web2py] Re: How to debug "lost password"

2020-08-20 Thread Jim S
What does your mail setup in db.py look like? -Jim On Thursday, August 20, 2020 at 9:47:11 AM UTC-5, Jonsubs wrote: > > Any suggestions on how to debug "password lost" email not being sent. > Thanks, Jon. > > On Wed, Aug 19, 2020 at 7:49 PM Jon Subscripted > wrote: > >> Hi everyone, >> I'm havi

[web2py] Re: How to debug "lost password"

2020-08-20 Thread Jon Subscripted
Any suggestions on how to debug "password lost" email not being sent. Thanks, Jon. On Wed, Aug 19, 2020 at 7:49 PM Jon Subscripted wrote: > Hi everyone, > I'm having some trouble sending "lost password" emails to my users. > Whenever I test it I get an "Unable to send email" message. > > But I d