title: I am using PHPMailer but mail not received in gmail
body: <p>I received the mail continuously fine but suddenly I didn't receive any mail. I don't know what happened with my code also I didn't get any error in my error log file as well. I am using it on Godaddy server</p>
  
  <pre><code>$mails = new PHPMailer();
      $mail-&gt;IsSMTP();
      $mail-&gt;Host = "smtp.gmail.com";
      $mail-&gt;SMTPAuth = true;
      $mail-&gt;Port = 587;
      $mail-&gt;Username = "mymail@gmail.com";
      $mail-&gt;Password = "myPassword";
      $mail-&gt;From = "foo@gmail.com";
      $mail-&gt;FromName = "John Doe";
      $mail-&gt;AddAddress('foobar@foobar.com');
  
      $mail-&gt;IsHTML(true);
      $mail-&gt;Subject = "John Doe Lead Update";
  
      $mail-&gt;Body = '
          &lt;h2&gt;Mahindra Campaign Data&lt;/h2&gt;';
  
          if($mail-&gt;send()){
  
              echo 'Message sent';
          }
             else
           {
              echo 'Mailer error' .$mail-&gt;ErrorInfo;
          }
  </code></pre>