title: Failed to connect to mailserver at "localhost" port 25
body: <p>I keep getting this error when I try to send an e-mail in PHP:</p>
  
  <pre><code>Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\dressoholic\register.php on line 50
  </code></pre>
  
  <p>my php.ini looks like this:</p>
  
  <pre><code>[mail function]
  ; For Win32 only.
  ; http://php.net/smtp
  SMTP = localhost
  ; http://php.net/smtp-port
  smtp_port = 25
  
  ; For Win32 only.
  ; http://php.net/sendmail-from
  sendmail_from = you@yoursite.com
  </code></pre>
  
  <p>I'm using my laptop as a server.. What am I doing wrong? Thanks.</p>