Código PHP:
Ver original
$mail = new PHPMailer(); $mail->IsSMTP(); $mail->SMTPAuth = true; $mail->SMTPSecure = "ssl"; $mail->Host = "smtp.gmail.com"; $mail->Port = 465; $mail->Password = "mipass"; $mail->FromName = "TEST"; $mail->Subject = "TEST"; $mail->AltBody = "TEST"; $mail->MsgHTML('CORREO'); $mail->AddAddress($_POST['email'], $_POST['email']); $mail->IsHTML(true); if (!$mail->Send()) { echo "Error: " . $mail->ErrorInfo; }
Porqué lo recibo en hotmail y con gmail no?