title: Sending emails with WAMP
body: <p>I use the latest WAMP and I get this when I try to send emails:</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\main\createaccount.php on line 8
  </code></pre>
  
  <p>Message delivery failed...</p>
  
  <p>The message:</p>
  
  <pre><code>$to = "xxx@hotmail.com";
  $subject = "Hi!";
  $body = "Hi,\n\nHow are you?";
  if (mail($to, $subject, $body)) {
    echo("&lt;p&gt;Message successfully sent!&lt;/p&gt;");
   } else {
    echo("&lt;p&gt;Message delivery failed...&lt;/p&gt;");
   }
  </code></pre>
  
  <p>Do you need do download a "mailserver" also?</p>
  
  <p>Please help.</p>