title: PHPMAILER Not sending and not giving error
body: <p>I am trying to let users fill out a contact form, which will then be sent to my email. But its not working for some reason. I just get a blank page with no error message or any text and email is also not sent.</p>
  
  <pre><code>if (isset($_POST['submit']))
  {
      include_once('class.phpmailer.php');
  
      $name = strip_tags($_POST['full_name']);
      $email = strip_tags ($_POST['email']);
      $msg = strip_tags ($_POST['description']);
  
      $subject = "Contact Form from DigitDevs Website";
  
      $mail = new PHPMailer();
      $mail-&gt;IsSMTP();
      $mail-&gt;CharSet = 'UTF-8';
  
      $mail-&gt;Host       = "mail.example.com"; // SMTP server example
      //$mail-&gt;SMTPDebug  = 1;                     // enables SMTP debug information (for testing)
      $mail-&gt;SMTPAuth   = true;                  // enable SMTP authentication
      $mail-&gt;Port       = 26;                    // set the SMTP port for the GMAIL server
      $mail-&gt;Username   = "info@example.com"; // SMTP account username example
      $mail-&gt;Password   = "password";        // SMTP account password example
  
      $mail-&gt;From = $email;
      $mail-&gt;FromName = $name;
  
      $mail-&gt;AddAddress('info@example.com', 'Information'); 
      $mail-&gt;AddReplyTo($email, 'Wale');
  
      $mail-&gt;IsHTML(true);
  
      $mail-&gt;Subject = $subject;
  
      $mail-&gt;Body    =  $msg;
      $mail-&gt;AltBody = 'This is the body in plain text for non-HTML mail clients';
  
      if(!$mail-&gt;Send()) {
      echo 'Message could not be sent.';
      echo 'Mailer Error: ' . $mail-&gt;ErrorInfo;
      exit;
  }
  echo 'Message has been sent';
  </code></pre>