Ver Mensaje Individual
  #9 (permalink)  
Antiguo 24/03/2011, 11:11
dunga007
 
Fecha de Ingreso: febrero-2009
Mensajes: 151
Antigüedad: 16 años, 1 mes
Puntos: 1
Respuesta: Problema extrañisimo con phpmailer

Cita:
Iniciado por pateketrueke Ver Mensaje
entonces entiendo que el problema no lo tienes al incluir funciones.php, sino el require que hay dentro de dicha función!!
Código PHP:
require("/aqui/deberias/usar/la/ruta/absoluta/a/class.phpmailer.php"); 
he ralizado como me indicas y paso a comentarte

con:

http://www.dominio.com/phpmailer/class.phpmailer.php

error

Código HTML:
Fatal error: Class 'PHPMailer' not found in /home/yosecom1/public_html/funciones.php on line 113

con:

/usr/bin/php /home/yosecom1/public_html/phpmailer/class.phpmailer.php

error:

Código HTML:
Warning: require(/usr/bin/php /home/yosecom1/public_html/phpmailer/class.phpmailer.php) [function.require]: failed to open stream: No such file or directory in /home/yosecom1/public_html/funciones.php on line 112

Fatal error: require() [function.require]: Failed opening required '/usr/bin/php /home/yosecom1/public_html/phpmailer/class.phpmailer.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/yosecom1/public_html/funciones.php on line 112
con:
/home/yosecom1/public_html/phpmailer/class.phpmailer.php

error (el mismo de siempre):

Código HTML:
SMTP -> FROM SERVER: 220 mx.google.com ESMTP f5sm2837893ybh.13 SMTP -> FROM SERVER: 250-mx.google.com at your service, [69.175.8.90] 250-SIZE 35882577 250-8BITMIME 250-STARTTLS 250-ENHANCEDSTATUSCODES 250 PIPELINING
Fatal error: Call to undefined method SMTP::StartTLS() in /home/yosecom1/public_html/phpmailer/class.phpmailer.php on line 803
extraño no??

Última edición por dunga007; 24/03/2011 a las 11:18