title: Class SMTP not found in phpmailer
body: <p>I am having this problem for my php mailer function. I tried changing the required file but still its the same. Can anyone help me with this error.</p>
  
  <p>This is my phpmailer code:</p>
  
  <pre><code>$mail = new PHPMailer();
  $mail-&gt;IsSMTP();
  $mail-&gt;SMTPDebug = 0;
  $mail-&gt;SMTPAuth = true;
  $mail-&gt;SMTPSecure = 'ssl'; 
  $mail-&gt;Host = "smtp.gmail.com";
  $mail-&gt;Port = 587;
  $mail-&gt;IsHTML(true);
  $mail-&gt;Username = "testnoreply@gmail.com";
  $mail-&gt;Password = "test";
  $mail-&gt;SetFrom("testnoreply@gmail.com");
  $mail-&gt;Subject = "Membership expire notice";
  $mail-&gt;Body = "Dear ICONIS member your membership is going to expire please renew it";
  $mail-&gt;AddAddress($em);
  
  if (!$mail-&gt;Send()) {
    echo "Mailer Error: " .$mail-&gt;ErrorInfo;
  } else {
    echo "Mail has been sent";
  }
  </code></pre>