Report this

What is the reason for this report?

Setup PHP mail function.

Posted on April 3, 2013

Hi there, can anyone tell me how to setup the mail function in PHP on an Ubuntu VPS?

Thanks in advance! Francis



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.

For applications with php wordpress mail, just set like this video. Greetings! <br>http://www.youtube.com/watch?v=dKO4MfOpDVs

I believe that the php mail() function will use your local MTA by default which on most normal installed linux servers will just be: <br> <br>/usr/sbin/sendmail <br> <br>Have you tried using the mail function and ran into issues?

I tried the mail function to send an email and I get no errors. But the email just never arrives. <br>Thanks again for the reply. <br> Francis

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.