By jack230209
Hey all,
Last night I set up a Droplet with the LAMP stack on Ubuntu 12.04. My sites are all moved over and everything seems to be working fine, with the exception of mail. My contact form no longer sends mail. I did some Googling and all of the threads I’ve found on the Digital Ocean board haven’t worked. I don’t need to receive mail, simply send it, so hopefully someone can lend a hand. I’ve tried postfix, sendmail, exim4, and nothing works.
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!
What’s the contact form invoking to send mail? are you missing a PHP module?
Do you have an <code>SPF record</code>? If so, you may need to add your droplet’s IP address to it. Check out <a href=“http://spfwizard.com/”>SPF Wizard</a>. <br> <br>Also, make sure that your WordPress permissions are <code>www-data:www-data</code>. What’s the output of <code>ls -la /path/to/WordPress/root/directory/</code>?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.