938 Posts in 271 Topics by 291 members
Forum Module
SilverStripe Forums » Forum Module » "Forgot password" page does not send email
Discuss the Forum Module.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 1623 Views |
-
"Forgot password" page does not send email

1 January 2010 at 7:32pm
Click on "forgot password" link from Forum page. Then fill in valid email address. Click on "Send me the password reset link". Got "Thank you! The password reset link has been sent to xxx@xxx.com". However, the email is not received by xxx@xxx.real.com.
I tried to create a test php page on the same web site. PHP mail() function is called from the php page. The email is received. That means the web server and PHP setup are OK.
SilverStripe version: 2.2.3
Forum Module version: 0.1.2Any idea?
Thanks in advance.
~xli -
Re: "Forgot password" page does not send email

1 April 2010 at 4:38pm
your email probably doesnt have a 'from' address filled in, so it gets spammed, most likely.
try adding this line of code to mysite/_config.php:
Email::setAdminEmail('email@mail.com');
-
Re: "Forgot password" page does not send email

25 June 2011 at 8:43am
We had the same problem, and tried everything, including the above suggestion and also some suggestions found at http://www.burnbright.co.nz/how-to-set-up-email-bounce-handling-using-silverstripe-and-cpanel/.
For us, the problem turned out to be the DNS setup that we had done with our hosting provider. For example, if your website is www.xyz.com, and you have an outside provider to host the website, but handle email (@xyz.com) in-house or with a different provider, then you have to be careful how you set up subdomains or parked domains. In our case, the email function was actually working, but the web host's system was trying to take a shortcut with the delivery, saying "this email is addressed to someone at @xyz.com, and *I* am @xyz.com, so I won't bother going to the internet with it", and then of course the email is never delivered because this provider handles web only and not mail. The web host company had to make some more-granular settings related to our DNS handling and then all these kinds of email issues, including the SilverStripe admin emails, were fixed.
| 1623 Views | ||
|
Page:
1
|
Go to Top |


