Sending Mail using phpMailer
I am using a fresh copy of phpMailer that is hooked up to our account creation for our service. When I am sending the emails through with it and echoing out
$mail->ErrorInfo;
it returns the expected line
Array ( [success] => 1 )
Then when I look at my emails, nothing was received, even after multiple trials. I am at a loss for what could be happening. Any help would be appreciated. My code minus vital parts have been removed,
require_once('mail/PHPMailer/class.phpmailer.php');
$mail = new PHPMailer();
$body = '--Cut--';
$mail->SMTPDebug = 3;
$mail->IsSMTP();
$mail->SMTPAuth = true;
$mail->Host = "smtp.zoho.com";
$mail->Port = 587;
$mail->Password = "--Redacted-";
$mail->SMTPSecure = 'ssl';
$mail->Subject = "MCSZ Account Verification";
$mail->AltBody = '--Cut--';
$mail->MsgHTML($body);
$address = $email;
$mail->AddAddress($email);
$mail->Send();