Report this

What is the reason for this report?

LEMP and Varnish: Sending mail not working

Posted on 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 http://drugoyhiphop.ru/info.php



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.

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>

Help, not found.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.