title: sending an email using MAMP and php scripts
body: <p>Hi I am running MAMP on my mac to locally host a website. I want to send an email using php scripts. The stuff i looked online tells me about php scripts for emails but i am unable to send emails. I am guessing this has to do with MAMP settings or maybe i have to make changes to php.ini file but i cant find information regarding that. Can i send emails to my clients using my gmail address running php scripts. I am creating a signup page where once you signup successfully, the site sents you a welcome email. Can some body please guide me how to do this. I have used code from here:
  <a href="http://email.about.com/od/emailprogrammingtips/qt/PHP_Email_SMTP_Authentication.htm" rel="nofollow">http://email.about.com/od/emailprogrammingtips/qt/PHP_Email_SMTP_Authentication.htm</a>
  but this doesnt work.
  i have used following settings:
      $host = "ssl://smtp.gmail.com";
      $port = "465";</p>