The password reset function is coming up with 'unable to send email', and 
it seems to be since I upgraded from 1.93.2 to 2.3.2, as it was working up 
until a couple of weeks ago before the upgrade (not necessarily correlated 
but seems likely). The email addresses for password reset exist on the 
system, and I am also able to send from my application using a different 
method (see below).

Here's what I've got in the dal/model:

mail=Mail()                                  
mail.settings.server= '192.168.200.43:25'    
mail.settings.sender= 'the...@........a.com'      #  masked for posting 
question.
auth.settings.mailer = mail                   
auth.settings.registration_requires_verification = True
auth.messages.verify_email = 'Click on the link 
http://'+request.env.http_host+URL(r=request,c='default',f='user',args=['verify_email'])+'/%(key)s
 
to verify your email'
auth.settings.reset_password_requires_verification = True
auth.messages.reset_password = 'Click on the link http://'+
      request.env.http_host+
      URL(r=request,c='default',f='user',args=['reset_password'])+
      '/%(key)s to reset your password'


Here's how I send emails in one of the modules used by my application, 
which works fine:

import smtlib

....
    server = smtplib.SMTP('192.168.200.43')
    server.sendmail(FROM, [to], msg_body )
    server.quit()   

Can anyone tell me how/what I should check? Apparently the McAffee 
antivirus isn't blocking anything, but that was just a quick verbal 
confirmation...


-- 

--- 
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