I am trying to send a simple email on one of my web pages.
mail('myemail@gmail.com', 'NEW ORDER', 'order details');
The code does not work on my xampp localhost, nor my server. (i received no emails). I read about having to edit a php.ini file on my server, but it seemed to allow it (based on my minuscule knowledge).
[mail function]
sendmail_path = /usr/local/bin/sendmail -oi -t
Any ideas?
My main goal is to be able to send it on my actual website. (im not as worried about the actual localhost)