I have a PHPMailer script. It's working fine on my Hostinger account, but when I move it over to my company's FatCow server it stops working.
Any help would be much appreciated!
The code is:
$email = new PHPMailer();
$email->IsSendmail();
$email->From = "stuart@ubrew.cc";
$email->FromName = "Stuart";
$email->Subject = "Subject...";
$email->Body = "text"; // BODY TEXT HERE
$email->AddAddress("$customeremail");
$email->AddAttachment($certificateName, 'GiftCertificate.pdf');
if (!$email->Send()) {
$message = $email->ErrorInfo;
mail('sewelly@gmail.com', 'MAILER ERROR', $message);
}