LEMP and Varnish: Sending mail not working

  • Posted February 26, 2014

Move my wordpress site from another hosting (lamp) to digitalocean (lemp + varnish).

All nice, but mail sending dont work. If i check by trying reset my password, i have message “Possible reason: your host may have disabled the mail() function”. If i check by wp-mail-smtp plugin, i have message “Could not instantiate mail function.” (if use mail() function) or “SMTP Error: Could not connect to SMTP host” (if use SMTP)

But and mail(), and smtp is ok


I’m facing same problem…


Submit an 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.

Help, not found.

Is sendmail running? <pre>sudo netstat -plutn</pre> If not, start it: <br><pre>sudo service sendmail start</pre> If that doesn’t work, it’s probably not installed:<pre>sudo apt-get install sendmail</pre>