I'm just about finished setting up the basics of my new ubuntu server - I don't have very much experience with Linux.
I only need to be able to send email from my server - but it seems to be really difficult to set it up.
I tried this answer, but I simply get the same error in my log as I did before I installed postfix...
sh: /usr/sbin/sendmail: not found
I now have postfix installed, and have added the configuration file in my PHP config directory as that answer suggests - but I still encounter the same issue when sending emails with PHP.
What is the easiest way of setting this up to send emails through PHP with ubuntu server?