title: PHPMailer - AUTH not accepted
body: <p>I'm trying to run PHPMailer for an internal contact form and I am getting the error ERROR: AUTH not accepted from server. Here is my current code..</p>
  
  <pre><code>require_once('/includes/class.phpmailer.php');
  include("/includes/class.smtp.php");
  
  if (isset($_POST['submit'])) {
  
  $mail = new PHPMailer(true); 
  $mail-&gt;IsSMTP(); 
  $name = htmlspecialchars($_POST['name']);
  $email = htmlspecialchars($_POST['email']);
  $message = htmlspecialchars($_POST['message']);
  
  try {
    $mail-&gt;Host       = "192.168.6.6"; 
    $mail-&gt;SMTPDebug  = 2;                     
    $mail-&gt;SMTPAuth   = True;
    $mail-&gt;Username = 'xxxxx';
    $mail-&gt;Password = '***';                  
    $mail-&gt;Port       = 25;                    
    $mail-&gt;AddAddress('xxx@xxx.com', 'xxxxx');
    $mail-&gt;SetFrom($email);
    $mail-&gt;Subject = 'New message from Contact Form';
    $mail-&gt;Body = $message;
      $mail-&gt;Send();
    } catch (phpmailerException $e) {
      echo $e-&gt;errorMessage();
    } catch (Exception $e) {
      echo $e-&gt;getMessage();
    }
  };
  </code></pre>