View Full Version : user_EmailPW.php not sending e-mail
rjpeterson3359345
11-08-2009, 01:56 PM
After running the security assist wizard the resulting forgot password e-mail function does not work.
If an incorrect password is entered on the user_login.php page, the user is taken to the user_EmailPW.php page where the user enters their e-mail address. If the e-mail is valid, an e-mail is sent and the user is returned to the login page. The error I'm seeing is the e-mail is never sent or received. I know the new password is stored to the database because I'm no longer able to log in using it.
Thanks,
Rick
Jason Byrnes
11-09-2009, 10:47 AM
Please send a copy of the user_EmailPW.php page.
rjpeterson3359345
11-09-2009, 01:58 PM
Jason,
Please find the attached file.
Rick
Jason Byrnes
11-12-2009, 11:37 AM
Does your host support sending emails using the mail() function in PHP?
In the Email Password server behavior, try leaving the SMTP server blank.
Also try leaving the From Display name Blank.
If the email is still not being sent, ask the host if they can provide a sample script for sending email in PHP using the mail() command, they may require modifying the mail() function to pass an additional parameter. If they can provide a sample script, I will be able to see if there is some change needed to the email password code.
jim286478
01-14-2010, 12:31 PM
Sorry I am not posting a solution! And I am not sure if I should be posting here, however, I have a very similar problem so I thought the answers maybe the same. I have one form being emailed by UE fine. I have a forgot password not being emailed. Both use the same server name and port number and both are on the same host server and the same domain. I would appreciate some help.
Jim
Jason Byrnes
01-14-2010, 01:55 PM
In the forgot.php page, the from address is not a valid email address:
"fromAddress" => "NACBC",
most SMTP server will not relay the email if the from address is not a valid email address.
jim286478
01-14-2010, 03:23 PM
Jason, thank you, that was the problem.
Jim
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.