Hello everyone.
I opened registration to visitors in one of my wordpress websites and registration is not working properly.
I just tried “Lost Password?” function and it gave me this error:
“The e-mail could not be sent. Possible reason: your host may have disabled the mail() function.”
My server is Ubuntu 12.04; LEMP - running on nginx.
Is there a way to fix this problem without messing up?
I appreciate your help. Thanks,
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
if you install sendmail, as ryan mentioned, be sure to do:
and then configure sendmail(just choose the defaults)
reboot
Perfect! Thanks @sierracircle
I tested this option and the result on this page: /wp-login.php?action=lostpassword is:
Looking in the config log the following info appears:
UPDATE: This tread helped me find out how to deal with this error problem: https://www.digitalocean.com/community/questions/sendmail-is-slow-to-send-mail