I am here with a difficulty ... I am trying to send confirmation emails to my registry but mail does not reach Hotmail.
This is my config
public static function sendMail($subject, $body, $address) {
$mail = new PHPMailer();
$mail->isSMTP();
$mail->SMTPDebug = 2;
$mail->Debugoutput = 'html';
$mail->SMTPAuth = true;
$mail->SMTPSecure = 'tls';
$mail->Host = 'smtp.live.com';
$mail->Port = 587;
$mail->isHTML();
$mail->Username = '[email protected]';
$mail->Password = 'myMailPass';
$mail->SetFrom('[email protected]');
$mail->Subject = $subject;
$mail->Body = $body;
$mail->AddAddress($address);
$mail->Send();