WordPress HTTP Error 500 via password recovery

I was following this guide and when I click on ‘Forgot password’ and enter my email for a recovery link, it brings me to a page that says, The page isn’t working is currently unable to handle this request. HTTP ERROR 500

Here is my nginx/error.log I have sendmail installed with default configuration.

2016/08/21 20:16:01 [error] 2490#2490: *422 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught phpmailerException: Invalid address: wordpress@ in /var/www/
Stack trace:
#0 /var/www/ PHPMailer->setFrom('wordpress@', 'WordPress')
#1 /var/www/ wp_mail('MYEMAIL@gmail.c...', '[MYSITE] P...', 'Someone has req...')
#2 /var/www/ retrieve_password()
#3 {main}
  thrown in /var/www/ on line 946" while reading response header from upstream, client:, server: , request: "POST /wp-login.php?action=lostpassword HTTP/2.0", upstream: "fastcgi://unix:/run/php/php7.0-fpm.sock:", host: "", referrer: ""
Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

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.

I am having the same issue, did you find an answer ?