Question

What's the trick to getting PHP mail to work!?

Posted March 26, 2014 2.6k views
I need php to be able to send me emails (i.e. from my contact form). What's the trick?

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.

3 answers
have you installed an MTA like postfix or exim4 on your server?
You need to install an MTA on your droplet as leoadhemartan said:
sudo apt-get install sendmail
Submit an Answer