Ver Mensaje Individual
  #7 (permalink)  
Antiguo 31/03/2009, 10:07
yanuarys
 
Fecha de Ingreso: noviembre-2008
Mensajes: 43
Antigüedad: 15 años, 6 meses
Puntos: 0
Hola ya cambie eso pero nada ya me llego uno pero mas ninguno porque sera no se porque me llego ese y mas ninguno

Por favor ayudenme ya me di cuenta porque me llegaban algunos y otros no, porque debia poner $mail->Send(); para enviar pero ahora me salen estos errores y ademas el de la funcion header saben si es que no puedo enviar ante esa funcion como le hago por favor ahora me llegan pero con estos errores.
Código PHP:
SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "220 seisa.cu - SMTP Server ESMTP " SMTP -> get_lines(): $data is "220 seisa.cu - SMTP Server ESMTP " SMTP -> FROM SERVER220 seisa.cu SMTP Server ESMTP SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250-seisa.cu - SMTP Server " SMTP -> get_lines(): $data is "250-seisa.cu - SMTP Server " SMTP -> get_lines(): $data was "250-seisa.cu - SMTP Server " SMTP -> get_lines(): $str is "250-STARTTLS " SMTP -> get_lines(): $data is "250-seisa.cu - SMTP Server 250-STARTTLS " SMTP -> get_lines(): $data was "250-seisa.cu - SMTP Server 250-STARTTLS " SMTP -> get_lines(): $str is "250-PIPELINING " SMTP -> get_lines(): $data is "250-seisa.cu - SMTP Server 250-STARTTLS 250-PIPELINING " SMTP -> get_lines(): $data was "250-seisa.cu - SMTP Server 250-STARTTLS 250-PIPELINING " SMTP -> get_lines(): $str is "250-8BITMIME " SMTP -> get_lines(): $data is "250-seisa.cu - SMTP Server 250-STARTTLS 250-PIPELINING 250-8BITMIME " SMTP -> get_lines(): $data was "250-seisa.cu - SMTP Server 250-STARTTLS 250-PIPELINING 250-8BITMIME " SMTP -> get_lines(): $str is "250-SIZE 2097152 " SMTP -> get_lines(): $data is "250-seisa.cu - SMTP Server 250-STARTTLS 250-PIPELINING 250-8BITMIME 250-SIZE 2097152 " SMTP -> get_lines(): $data was "250-seisa.cu - SMTP Server 250-STARTTLS 250-PIPELINING 250-8BITMIME 250-SIZE 2097152 " SMTP -> get_lines(): $str is "250 AUTH LOGIN PLAIN CRAM-MD5 " SMTP -> get_lines(): $data is "250-seisa.cu - SMTP Server 250-STARTTLS 250-PIPELINING 250-8BITMIME 250-SIZE 2097152 250 AUTH LOGIN PLAIN CRAM-MD5 " SMTP -> FROM SERVER250-seisa.cu SMTP Server 250-STARTTLS 250-PIPELINING 250-8BITMIME 250-SIZE 2097152 250 AUTH LOGIN PLAIN CRAM-MD5 SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "334 VXNlcm5hbWU6 " SMTP -> get_lines(): $data is "334 VXNlcm5hbWU6 " SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "334 UGFzc3dvcmQ6 " SMTP -> get_lines(): $data is "334 UGFzc3dvcmQ6 " SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "235 ok, go ahead (#2.0.0) " SMTP -> get_lines(): $data is "235 ok, go ahead (#2.0.0) " SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250 ok " SMTP -> get_lines(): $data is "250 ok " SMTP -> FROM SERVER250 ok SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250 ok " SMTP -> get_lines(): $data is "250 ok " SMTP -> FROM SERVER250 ok SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "354 go ahead " SMTP -> get_lines(): $data is "354 go ahead " SMTP -> FROM SERVER354 go ahead SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250 ok 1238529632 qp 14642 " SMTP -> get_lines(): $data is "250 ok 1238529632 qp 14642 " SMTP -> FROM SERVER250 ok 1238529632 qp 14642 SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "221 seisa.cu - SMTP Server " SMTP -> get_lines(): $data is "221 seisa.cu - SMTP Server " SMTP -> FROM SERVER221 seisa.cu SMTP Server 
Warning
Cannot modify header information headers already sent by (output started at C:wampwwwReportesSeisaPaginasphpmailerclass.smtp.php:1027in C:wampwwwReportesSeisaPaginasRegistrarReporte.php on line 58

Fatal error
Cannot redeclare class Reportes in C:wampwwwReportesSeisaPaginasclases.php on line 10 
El codigo me va quedando asi
Código PHP:
 require("phpmailer/class.phpmailer.php");
    
$mail = new PHPMailer();
    
//$mail->PluginDir="C:/wamp/www/ReportesSeisa/Paginas/phpmailer/class.smtp.php";
    
$mail->Mailer="smtp";
    
$mail->IsSMTP();
    
$mail->Host "192.168.0.3";
    
$mail->Port="25";
    
$mail->Username "email";
    
$mail->Password "yanuarys";   
    
$mail->SMTPAuth true;
    
$mail->CharSet "UTF-8";
    
$mail->From "email";
    
$mail->FromName "Reportes Seisa";
    
//$mail->IsHTML(true);
    
$mail->Subject "Nuevo Reporte";
    
$mail->AltBody "Debe visitar el sitio para asignar un nuevo reporte";
    
//$mail->ErrorInfo();
    //$mail->AddEmbeddedImage('logo.gif','my-logo');
    //$mail->AddEmbeddedImage('bg.gif','my-bg');
    /* Destinatarios */
    
$mail->AddAddress("email","Gerencia Informatica");
    
$mail->Send(); 

Última edición por GatorV; 31/03/2009 a las 12:54