title: Can't send email with php mail function on windows 8
body: <p>I have installed wamp on windows 8.</p>
  
  <p>Got error:</p>
  
  <blockquote>
    <p>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\mail.php on line 9</p>
  </blockquote>
  
  <p>Here is the simple source code:</p>
  
  <pre><code>&lt;?php
  // The message
  $message = "Line 1\r\nLine 2\r\nLine 3";
  
  // In case any of our lines are larger than 70 characters, we should use wordwrap()
  $message = wordwrap($message, 70, "\r\n");
  
  // Send
  mail('caffeinated@example.com', 'My Subject', $message);
  ?&gt;
  </code></pre>
  
  <p>Which software do i have to install to email through php on windows 8? sendmail, msmtp or ssmtp?</p>