Ver Mensaje Individual
  #2 (permalink)  
Antiguo 04/10/2010, 07:02
evoarte
 
Fecha de Ingreso: julio-2002
Mensajes: 813
Antigüedad: 21 años, 9 meses
Puntos: 2
Respuesta: smtp wordpress

en concreco he instalado el plugin wp-mail-smtp:

el resultado del test:
Código PHP:
Test Message Sent

The result was
:

bool(false)
The full debugging output is shown below:

object(PHPMailer)#3447 (45) {
  
["Priority"]=>
  
int(3)
  [
"CharSet"]=>
  
string(5"UTF-8"
  
["ContentType"]=>
  
string(10"text/plain"
  
["Encoding"]=>
  
string(4"8bit"
  
["ErrorInfo"]=>
  
string(43"SMTP Error: Could not connect to SMTP host."
  
["From"]=>
  
string(22"[email protected]"
  
["FromName"]=>
  
string(12"Nombre"
  
["Sender"]=>
  
string(0""
  
["Subject"]=>
  
string(53"WP Mail SMTP: Test mail to [email][email protected][/email]"
  
["Body"]=>
  
string(68"This is a test email generated by the WP Mail SMTP WordPress plugin."
  
["AltBody"]=>
  
string(0""
  
["WordWrap"]=>
  
int(0)
  [
"Mailer"]=>
  
string(4"smtp"
  
["Sendmail"]=>
  
string(18"/usr/sbin/sendmail"
  
["PluginDir"]=>
  
string(0""
  
["Version"]=>
  
string(5"2.0.4"
  
["ConfirmReadingTo"]=>
  
string(0""
  
["Hostname"]=>
  
string(0""
  
["MessageID"]=>
  
string(0""
  
["Host"]=>
  
string(14"smtp.gmail.com"
  
["Port"]=>
  
string(3"465"
  
["Helo"]=>
  
string(0""
  
["SMTPSecure"]=>
  
string(0""
  
["SMTPAuth"]=>
  
bool(true)
  [
"Username"]=>
  
string(22"[email protected]"
  
["Password"]=>
  
string(11"micontraseña"
  
["Timeout"]=>
  
int(10)
  [
"SMTPDebug"]=>
  
int(2)
  [
"SMTPKeepAlive"]=>
  
bool(false)
  [
"SingleTo"]=>
  
bool(false)
  [
"smtp"]=>
  
object(SMTP)#3448 (7) {
    
["SMTP_PORT"]=>
    
int(25)
    [
"CRLF"]=>
    
string(2"
"
    
["do_debug"]=>
    
int(2)
    [
"do_verp"]=>
    
bool(false)
    [
"smtp_conn"]=>
    
bool(false)
    [
"error"]=>
    array(
3) {
      [
"error"]=>
      
string(27"Failed to connect to server"
      
["errno"]=>
      
int(10060)
      [
"errstr"]=>
      
string(185"A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
"
    
}
    [
"helo_rply"]=>
    
NULL
  
}
  [
"to"]=>
  array(
1) {
    [
0]=>
    array(
2) {
      [
0]=>
      
string(26"[email protected]"
      
[1]=>
      
string(0""
    
}
  }
  [
"cc"]=>
  array(
0) {
  }
  [
"bcc"]=>
  array(
0) {
  }
  [
"ReplyTo"]=>
  array(
0) {
  }
  [
"attachment"]=>
  array(
0) {
  }
  [
"CustomHeader"]=>
  array(
0) {
  }
  [
"message_type"]=>
  
string(5"plain"
  
["boundary"]=>
  array(
2) {
    [
1]=>
    
string(35"b1_9e6e87813bf6ca857fc01b4c10f17058"
    
[2]=>
    
string(35"b2_9e6e87813bf6ca857fc01b4c10f17058"
  
}
  [
"language"]=>
  array(
13) {
    [
"mailer_not_supported"]=>
    
string(25" mailer is not supported."
    
["provide_address"]=>
    
string(55"You must provide at least one  mailer is not supported."
    
["execute"]=>
    
string(19"Could not execute: "
    
["instantiate"]=>
    
string(36"Could not instantiate mail function."
    
["authenticate"]=>
    
string(35"SMTP Error: Could not authenticate."
    
["from_failed"]=>
    
string(35"The following From address failed: "
    
["data_not_accepted"]=>
    
string(30"SMTP Error: Data not accepted."
    
["recipients_failed"]=>
    
string(56"SMTP Error: The following SMTP Error: Data not accepted."
    
["connect_host"]=>
    
string(43"SMTP Error: Could not connect to SMTP host."
    
["file_access"]=>
    
string(23"Could not access file: "
    
["file_open"]=>
    
string(33"File Error: Could not open file: "
    
["encoding"]=>
    
string(18"Unknown encoding: "
    
["signing"]=>
    
string(15"Signing Error: "
  
}
  [
"error_count"]=>
  
int(1)
  [
"LE"]=>
  
string(1"
"
  
["sign_cert_file"]=>
  
string(0""
  
["sign_key_file"]=>
  
string(0""
  
["sign_key_pass"]=>
  
string(0""
}
The SMTP debugging output is shown below:

SMTP -> ERRORFailed to connect to serverA connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
 (
10060
gracias,
un saludo,
josé carlos.

Última edición por metacortex; 06/10/2010 a las 04:52 Razón: Encerrar código en etiquetas