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

March 26, 2014 1.9k views
I need php to be able to send me emails (i.e. from my contact form). What's the trick?
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
Have another answer? Share your knowledge.