Also have a look at PHPMailer for sending emails - I read on here that the built-in mail() function is unreliable. I haven’t tried either myself, I should say.
I read that too. Perhaps it is but i have used the mail() function for years without (too many) problems. I used to send ~10k emails from our webserver using mail() for an enews system although this was 5 or so years ago.
I personally found it easy to use and still use it for various functions on our website.
Agreed. We have a dedicated server and our host was fully aware of what we were doing. Shared servers etc probably not a good idea to do that unless your host knows about it.
But for 1 off type emails never had a problem with mail().