Home > Blockchain >  email authentication for *@comcast.net addresses
email authentication for *@comcast.net addresses

Time:06-29

I send out emails to a number of clients. For some reason all 12 clients that have a *@comcast.net address are having the emails go into their spam folder. I tried contacting comcast but trying to get help from them is like getting water from a rock. Here's the php script I'm using to send emails:

function mailerExpressBlueHostUpdated(array $mailInputs){
   
   require_once '../includes/phpmailer6.6/src/PHPMailer.php';
   require_once '../includes/phpmailer6.6/src/SMTP.php';

   $mail = new PHPMailer();
   $mail->IsMail();   
   $mail->SetFrom('[email protected]');
   $mail->IsHTML(true);

   $mail->addAddress($mailInputs['addAddress']);
   
   $mail->AddEmbeddedImage("../public/img/swb.jpg",      "swb-image");
   $mail->AddEmbeddedImage("../public/img/email-32.png", "swb-email");
   $mail->AddEmbeddedImage("../public/img/phone-32.png", "swb-phone"); 
   
   $body = $mailInputs['body'] ;
   $mail->isHTML(true);
   $mail->Subject = $mailInputs['subject'] ;
   $mail->Body    = $body; 

   if(!$mail->send()) {
       //echo "MAIL NOT SENT";
      return 'Message could not be sent.' . 'Mailer Error: ' . $mail->ErrorInfo;
   }else{
       //echo "sent mail";
      return 'Message has been sent';
   }   

   $mail->ClearAddresses();
}

Here are the warnings I'm getting from dns health check

DMARC   sailwbob.com    DNS DMARC RUA / RUF domains Not valid.
DMARC   sailwbob.com    DMARC Quarantine/Reject policy Not enabled.
SMTP    mail.sailwbob.com.  10.84 seconds - Bad on Transaction time.
SMTP    mail.sailwbob.com.  Reverse DNS does not match SMTP Banner.
DNS     sailwbob.com    SOA Expire Value is out of recommended range.
DNS     sailwbob.com    SOA Refresh Value is out of recommended range.

any guidance greatly appreciated

CodePudding user response:

So after extensive work with senior techs at comcast I have the following information:

Comcast has very strong security policies in place to prevent data breaches.  In 
order for emails to not go to spam you need to go to connect.xfinity.com log into 
your comcast account and add a custom filter.  Add the address you want to 
receive emails from and tell it to place those emails in your inbox.

It would be nice to have a solution that doesn't involve a custom filter but that's all I have at this time

  • Related