title: PHPMailer IsHTML(true) not working
body: <p>I am trying to send emails from PHPMailer. Everything is working but the problem is it is sending emails along with HTML tags even after writing <code>$mail-&gt;IsHTML(true);</code> . Below is my code for sending emails.</p>
  
  <pre><code>    $mail = new PHPMailer(); 
      $mail-&gt;IsSMTP();
      $mail-&gt;SMTPDebug = 1;
      $mail-&gt;SMTPAuth = true; 
      $mail-&gt;SMTPSecure = EMAIL_COMPOSE_SECURE; 
      $mail-&gt;Host = EMAIL_COMPOSE_SMTP_HOST;  
      $mail-&gt;Port = EMAIL_COMPOSE_PORT;
      $mail-&gt;Username = EMAIL_COMPOSE_OUTGOING_USERNAME;
      $mail-&gt;Password = EMAIL_COMPOSE_OUTGOING_PASSWORD;
      $mail-&gt;SetFrom(EMAIL_COMPOSE_INCOMING_USERNAME);
      $mail-&gt;Subject =$subject;
  
      $mail-&gt;Body = $message;
      $mail-&gt;IsHTML(true);
      $mail-&gt;AddAddress($email_to);
      if(!$mail-&gt;Send()){
          echo "Mailer Error: " . $mail-&gt;ErrorInfo;
      }
      else{
        echo "Message has been sent";
      }
  </code></pre>
  
  <p>And one more thing I will mention, in my application text editor for writing the emails is ckeditor. Will that cause any problem? Please help.</p>