title: sending mail using smtp phpmailer doesn't work
body: <p>I´m having trouble sending a e-mail with the PHPMailer class, after submit form i have a message mail send ok but i don't recive any mail.</p>
  
  <p>I guess the problem is with the SMTP authentication, but I couldn´t find the problem.the source application are stored in a distant server with ip adress:175.2.3.69 and i use outlook count to send mail</p>
  
  <p>The code with problem is:</p>
  
  <pre><code>require_once('../libs/PHPMailer/class.phpmailer.php');
  //Ensuite on débute l'envoi de mail
  
  $mail = new PHPmailer();
  $mail-&gt;IsSMTP(); // telling the class to use SMTP
  
  try {
      $mail-&gt;Host       = "messagerie.abc.a.fr"; // SMTP server
      $mail-&gt;SMTPAuth   = true;                  // enable SMTP authentication
      $mail-&gt;Port       = 25;                    // set the SMTP port for the GMAIL server
      $mail-&gt;Username   = "username.name@a-bc.fr"; // SMTP account username
      $mail-&gt;Password   = "password";        // SMTP account password
      $mail-&gt;AddReplyTo('username.name@a-bc.fr', 'First Last');
      $mail-&gt;AddAddress('username.name@a-bc.fr', 'John Doe');
      $mail-&gt;SetFrom('username.name@a-bc.fr', 'First Last');
      $mail-&gt;AddReplyTo('username.name@a-bc.fr', 'First Last');
      $mail-&gt;Subject = 'PHPMailer Test Subject via mail(), advanced';
      $mail-&gt;AltBody = 'To view the message, please use an HTML compatible email viewer!'; // optional - MsgHTML will create an alternate automatically
      $mail-&gt;MsgHTML(file_get_contents('contents.html'));
      $mail-&gt;Send();
  
      echo "Message Sent OK&lt;p&gt;&lt;/p&gt;\n";
  } catch (phpmailerException $e) {
      echo $e-&gt;errorMessage(); //Pretty error messages from PHPMailer
  } catch (Exception $e) {
      echo $e-&gt;getMessage(); //Boring error messages from anything else!
  }
  </code></pre>