title: PHPMailer, no Email and no Error
body: <p>I want to send a large mail from my webspace. This mail contains many variables, which are inputed through a form. </p>
  
  <p>First I tried the php mail(), but I didn't receive any mail. I used mail() in another part of my website and from this script I receive a mail. So the function should work on my webspace.</p>
  
  <p>For the large mail I tried to use PHPMailer, because the mail() didn't work as expected. The code for the PHPMailer is:</p>
  
  <pre><code>require 'phpmailer/PHPMailerAutoload.php';
  $mail = new PHPMailer;
  $mail-&gt;isSMTP();
  $mail-&gt;Host = 'xxx.xxx.de'; 
  $mail-&gt;SMTPAuth = true;     
  $mail-&gt;Port = 587;                          
  $mail-&gt;Username = 'xxx';              
  $mail-&gt;Password = 'xxx';                          
  $mail-&gt;SMTPSecure = 'tls';                        
  $mail-&gt;From = 'xxx@xxx.de';
  $mail-&gt;FromName = 'xxx';
  $mail-&gt;addAddress('xxx@xxx.de', 'xxx xxx');
  $mail-&gt;WordWrap = 50;                                
  $mail-&gt;isHTML(true);                                
  $mail-&gt;Subject = $subject;
  $mail-&gt;Body    = $mess;
  $mail-&gt;AltBody = $mess;
  
  if(!$mail-&gt;send()) {
      echo 'Message could not be sent.';
      echo 'Mailer Error: ' . $mail-&gt;ErrorInfo;
  } else {
      echo 'Message has been sent';
  }
  </code></pre>
  
  <p>After the script has finished, I don't get an error and I don't receive a mail. What could be a problem for this? How can I check, why my PHPMailer is not working? Has the require path to be absolute or relative?</p>