Ver Mensaje Individual
  #1 (permalink)  
Antiguo 19/03/2015, 08:28
jeko
 
Fecha de Ingreso: abril-2008
Mensajes: 24
Antigüedad: 16 años
Puntos: 0
Envio Correo Masico PHPMailer y Gmail

Estimados,

Quisiera saber si alguien mas a tenido problemas para el envió de correos masivos utilizando PHPMailer y una cuenta Gmail, yo utilizaba este método para enviar correos, pero desde el hace unos días ya no me permite hacerlo, me arroja el siguiente error:

2015-03-19 14:33:45 SERVER -> CLIENT: 220 mx.google.com ESMTP 132sm928088qhf.17 - gsmtp 2015-03-19 14:33:45 CLIENT -> SERVER: EHLO localhost 2015-03-19 14:33:45 SERVER -> CLIENT: 250-mx.google.com at your service, [186.67.188.225] 250-SIZE 35882577 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH XOAUTH2 PLAIN-CLIENTTOKEN 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-CHUNKING 250 SMTPUTF8 2015-03-19 14:33:45 CLIENT -> SERVER: AUTH LOGIN 2015-03-19 14:33:46 SERVER -> CLIENT: 334 VXNlcm5hbWU6 2015-03-19 14:33:46 CLIENT -> SERVER: ZnVua25hbmRvQGdtYWlsLmNvbQ== 2015-03-19 14:33:46 SERVER -> CLIENT: 334 UGFzc3dvcmQ6 2015-03-19 14:33:46 CLIENT -> SERVER: SmVrbzE5ODI= 2015-03-19 14:33:46 SERVER -> CLIENT: 534-5.7.14 Please log in via your web browser and 534-5.7.14 then try again. 534-5.7.14 Learn more at 534 5.7.14 https://support.google.com/mail/bin/answer.py?answer=78754 132sm928088qhf.17 - gsmtp 2015-03-19 14:33:46 SMTP ERROR: Password command failed: 534-5.7.14 Please log in via your web browser and 534-5.7.14 then try again. 534-5.7.14 Learn more at 534 5.7.14 https://support.google.com/mail/bin/answer.py?answer=78754 132sm928088qhf.17 - gsmtp 2015-03-19 14:33:46 CLIENT -> SERVER: QUIT 2015-03-19 14:33:46 SERVER -> CLIENT: 221 2.0.0 closing connection 132sm928088qhf.17 - gsmtp SMTP connect() failed.


Código que utilizo

<?php

require_once('PHPMailer/class.phpmailer.php');
require_once('PHPMailer/class.smtp.php');

$email = new PHPMailer();
$email->IsSMTP();
$email->SMTPAuth = true;
$email->SMTPDebug = 2;
$email->SMTPSecure = "ssl";
$email->Host = "smtp.gmail.com";
$email->Port = 465;
$email->Username = "[email protected]";
$email->From = "[email protected]";
$email->Password = "tI246012";
$email->FromName = "Carga IPC";
$email->Subject = "Notificación - Carga";
$email->CharSet = 'UTF-8';
$email->MsgHTML("Estimado(a),<br><br>");
$email->AddAddress("[email protected]","destinat ario");

$email->IsHTML(true);

if($email->Send()) {

$result = "ok";
}
else
{
$result = "Error al enviar el mensaje: " . $email*>ErrorInfo;
}