title: PHP mail() function server and localhost not working
body: <p>I am trying to send a simple email on one of my web pages.</p>
  
  <p><code>mail('myemail@gmail.com', 'NEW ORDER', 'order details');</code></p>
  
  <p>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).</p>
  
  <p><code>[mail function]
  sendmail_path = /usr/local/bin/sendmail -oi -t</code></p>
  
  <h1>Any ideas?</h1>
  
  <p>My main goal is to be able to send it on my actual website. (im not as worried about the actual localhost)</p>