title: Send mail from localhost with PHP with MAMP
body: <p>I've been trying everything I can find on the internet for this, and none of them seem to be working, so I'm doing something wrong and I need some help figuring out what.</p>
  
  <pre><code>[mail function]
  ; For Win32 only.
  SMTP = localhost
  smtp_port = 25
  
  ; For Win32 only.
  sendmail_from = myemail@yahoo.com
  
  ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
  sendmail_path = /usr/sbin/sendmail -t -i -f myemail@yahoo.com
  </code></pre>
  
  <p>The above code is what I have changed everything to, (except for the email is my actual email (also I'm not sure if yahoo email will work with this or not, so maybe that's the problem?))
  I am not sure where the sendmail_path goes to, I cannot find that path anywhere (am I suppose to download some file/program called sendmail?)</p>
  
  <p>also, my APACHE port I have changed to 80, and my MySQL port is 3306, (I don't know if those ports have anything to do with the smpt_port or not)</p>
  
  <p>Any help would be greatly appreciated, thanks!</p>
  
  <p>(if there are any other ways, (easier ways) of doing this, please also let me know).</p>