Merhaba, php mailer ile smtp üzerinden email gönderiyorum 2FA sistemi kodladım. Özel domainlerde sorun yok ancak gmail vb. maillere göndermiyor, her türlü yolu denedim DKIM ekledim öncelik verdim ancak yinede gmaillere gitmiyor. SPAM'a da baktım yok. Kod aşağıdadır yardımcı olabilir misiniz?

include 'class.phpmailer.php';
include 'class.smtp.php';
include_once'config/Session.php'; 
include_once'config/Database.php';
include_once'config/Utilities.php'; 
include_once'controllers/ParseProfile.php';

$verifycode = $code_2fa;
$usermail = $email;
$userprivmail = substr($email, 0, 3).'****'.substr($email, strpos($email, "@"));

if($pin != NULL) { 
$mail = new PHPMailer();   
         $mail->IsSMTP();
         $mail->From     = "[COLOR=#000000][FONT=Open Sans][SIZE=2]sansür[/SIZE][/FONT][/COLOR] ";
         $mail->Sender   = "[COLOR=#000000][FONT=Open Sans][SIZE=2]sansür[/SIZE][/FONT][/COLOR] @sansür.com";
         $mail->FromName = "[COLOR=#000000][FONT=Open Sans][SIZE=2]sansür[/SIZE][/FONT][/COLOR] "; 
         $mail->Host     = "[COLOR=#000000][FONT=Open Sans][SIZE=2]sansür[/SIZE][/FONT][/COLOR] "; 
         $mail->SMTPAuth = true;  
         $mail->Username = "[COLOR=#000000][FONT=Open Sans][SIZE=2]sansür[/SIZE][/FONT][/COLOR] ";  //mail hesabı kullanıcı adı
         $mail->Password = "[COLOR=#000000][FONT=Open Sans][SIZE=2]sansür[/SIZE][/FONT][/COLOR] ";  //mail hesabına ait şifre
         $mail->Port = "587"; //smtp nin kullanacağı giden mail sunucu portu
         $mail->CharSet = "utf-8";
         $mail->WordWrap = 50;
         $mail->Priority = 1;
         $mail->AddReplyTo('[COLOR=#000000][FONT=Open Sans][SIZE=2]sansür[/SIZE][/FONT][/COLOR] ', '[COLOR=#000000][FONT=Open Sans][SIZE=2]sansür[/SIZE][/FONT][/COLOR] ');
         $mail->AddCC("[COLOR=#000000][FONT=Open Sans][SIZE=2]sansür[/SIZE][/FONT][/COLOR] ", "[COLOR=#000000][FONT=Open Sans][SIZE=2]sansür[/SIZE][/FONT][/COLOR] ");         
         $mail->AddCustomHeader("X-MSMail-Priority: High");
         $mail->DKIM_domain = '[COLOR=#000000][FONT=Open Sans][SIZE=2]sansür[/SIZE][/FONT][/COLOR] .com';
         $mail->DKIM_private = 'private.key';
         $mail->DKIM_selector = 'phpmailer';
         $mail->DKIM_passphrase = '';
         $mail->DKIM_identity = $mail->From;
         $mail->IsHTML(true);
         $mail->Subject  = "2AD";
         $mail->AddAddress($email);


$icerik = "[COLOR=#000000][FONT=Open Sans][SIZE=2]sansür[/SIZE][/FONT][/COLOR] "
// Sansürleri şimdi yazdım.