title: SMTP error with PHPMailer EHLO not supported
body: <p>I have this code, which I want to use to send mails to my customers, PARAMETERS CENSORED (<code>***</code>):  </p>
  
  <pre><code>include 'phpmailer/class.phpmailer.php';
  $mail = new PHPMailer(); // create a new object
  $mail-&gt;IsSMTP(); // enable SMTP
  $mail-&gt;SMTPDebug = 1; // debugging: 1 = errors and messages, 2 = messages only
  $mail-&gt;SMTPAuth = true; // authentication enabled
  $mail-&gt;Host = "smtp.email.it";
  $mail-&gt;Port = 25; // or 587 465
  $mail-&gt;IsHTML(true);
  $mail-&gt;SMTPSecure = 'tls';
  $mail-&gt;Username = "***";
  $mail-&gt;Password = "***";
  $mail-&gt;SetFrom('***');
  $mail-&gt;Subject = "Test";
  $mail-&gt;Body = "hello";
  $mail-&gt;AddAddress('***');
   if(!$mail-&gt;Send())
      {
      echo "Mailer Error: " . $mail-&gt;ErrorInfo;
      }
      else
      {
      echo "Message has been sent";
      }
  </code></pre>
  
  <p>It connects but gives errors:</p>
  
  <pre><code>2013-10-13 09:13:25 CLIENT -&gt; SERVER: EHLO *SITE_CENSORED*
  2013-10-13 09:13:25 SMTP ERROR: EHLO command failed: Method EHLO is not supported.
  2013-10-13 09:13:25 SMTP NOTICE: EOF caught while checking if connected
  SMTP connect() failed.
  Mailer Error: SMTP connect() failed.
  </code></pre>