Our company sends out emails through phpmailer to our customers and certain emails never go through to certain people... (emails for .gov, .amec, and others)
If we use the same email address and send them the exact same email in outlook they receive it just fine. Does anyone know whats the issue is? I've been told it could be the headers, but I'm not to familiar with how to solve that.
Here is our mailer code:
Note all variables/non-logic has been replaced with {{}} for this example.
$mail = new PHPMailer();
$mail->IsMail();
$mail->SetFrom({{from address}}, {{from name}});
$mail->AddAddress({{address addition}});
$mail->WordWrap = 70;
$mail->IsHTML(true);
$mail->Subject = {{subject}};
$mail->Body = {{body}};
$mail ->AltBody = {{alt body}};
$mail->MsgHTML({{msg}});
$mail->Send();