Suporte » Ajustando o WordPress » Problema com envio de email usando o CF7 no host 000webhost
Problema com envio de email usando o CF7 no host 000webhost
-
Estou criando um formulário de contato no meu site usando o contact form 7, quando eu acesso o site e envio o contato aparece a mensagem de sucesso, mas o email nunca chega.
Host: 000webhost usando o plano free
Até agora não consegui resolver esse problema de forma alguma.
-
Tente instalar plugin WP Mail SMTP e configurar com os seus dados de SMTP.
Depois, faça um teste e olhe o resultado do log.
-
Esta resposta foi modificada 7 anos, 1 mês atrás por
marcelo2605.
Test Message Sent
The result was:
bool(true)
The full debugging output is shown below:
object(PHPMailer)#7229 (75) {
[“Version”]=>
string(6) “5.2.14”
[“Priority”]=>
NULL
[“CharSet”]=>
string(5) “UTF-8”
[“ContentType”]=>
string(10) “text/plain”
[“Encoding”]=>
string(4) “8bit”
[“ErrorInfo”]=>
string(0) “”
[“From”]=>
string(37) “contato@fronteiratecnologia.netne.net”
[“FromName”]=>
string(5) “Teste”
[“Sender”]=>
string(37) “contato@fronteiratecnologia.netne.net”
[“ReturnPath”]=>
string(0) “”
[“Subject”]=>
string(64) “WP Mail SMTP: Test mail to contato@fronteiratecnologia.netne.net”
[“Body”]=>
string(68) “This is a test email generated by the WP Mail SMTP WordPress plugin.”
[“AltBody”]=>
string(0) “”
[“Ical”]=>
string(0) “”
[“MIMEBody:protected”]=>
string(69) “This is a test email generated by the WP Mail SMTP WordPress plugin.
”
[“MIMEHeader:protected”]=>
string(442) “Date: Tue, 18 Oct 2016 18:23:57 +0000
To: contato@fronteiratecnologia.netne.net
From: Teste
Subject: WP Mail SMTP: Test mail to contato@fronteiratecnologia.netne.net
Message-ID: <25184a49e46169a9b98f15ecca5cca04@fronteiratecnologia.netne.net>
X-Mailer: PHPMailer 5.2.14 (https://github.com/PHPMailer/PHPMailer)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit”
[“mailHeader:protected”]=>
string(0) “”
[“WordWrap”]=>
int(0)
[“Mailer”]=>
string(4) “smtp”
[“Sendmail”]=>
string(18) “/usr/sbin/sendmail”
[“UseSendmailOptions”]=>
bool(true)
[“PluginDir”]=>
string(0) “”
[“ConfirmReadingTo”]=>
string(0) “”
[“Hostname”]=>
string(0) “”
[“MessageID”]=>
string(0) “”
[“MessageDate”]=>
string(31) “Tue, 18 Oct 2016 18:23:57 +0000”
[“Host”]=>
string(17) “mx.000webhost.com”
[“Port”]=>
string(2) “25”
[“Helo”]=>
string(0) “”
[“SMTPSecure”]=>
string(0) “”
[“SMTPAutoTLS”]=>
bool(true)
[“SMTPAuth”]=>
bool(true)
[“SMTPOptions”]=>
array(0) {
}
[“Username”]=>
string(37) “contato@fronteiratecnologia.netne.net”
[“Password”]=>
string(20) “”
[“AuthType”]=>
string(0) “”
[“Realm”]=>
string(0) “”
[“Workstation”]=>
string(0) “”
[“Timeout”]=>
int(300)
[“SMTPDebug”]=>
bool(true)
[“Debugoutput”]=>
string(4) “echo”
[“SMTPKeepAlive”]=>
bool(false)
[“SingleTo”]=>
bool(false)
[“SingleToArray”]=>
array(0) {
}
[“do_verp”]=>
bool(false)
[“AllowEmpty”]=>
bool(false)
[“LE”]=>
string(1) ”
”
[“DKIM_selector”]=>
string(0) “”
[“DKIM_identity”]=>
string(0) “”
[“DKIM_passphrase”]=>
string(0) “”
[“DKIM_domain”]=>
string(0) “”
[“DKIM_private”]=>
string(0) “”
[“action_function”]=>
string(0) “”
[“XMailer”]=>
string(0) “”
[“smtp:protected”]=>
object(SMTP)#7228 (13) {
[“Version”]=>
string(6) “5.2.14”
[“SMTP_PORT”]=>
int(25)
[“CRLF”]=>
string(2) ”
”
[“do_debug”]=>
bool(true)
[“Debugoutput”]=>
string(4) “echo”
[“do_verp”]=>
bool(false)
[“Timeout”]=>
int(300)
[“Timelimit”]=>
int(300)
[“smtp_conn:protected”]=>
NULL
[“error:protected”]=>
array(4) {
[“error”]=>
string(0) “”
[“detail”]=>
string(0) “”
[“smtp_code”]=>
string(0) “”
[“smtp_code_ex”]=>
string(0) “”
}
[“helo_rply:protected”]=>
NULL
[“server_caps:protected”]=>
NULL
[“last_reply:protected”]=>
string(15) “221 2.0.0 Bye
”
}
[“to:protected”]=>
array(1) {
[0]=>
array(2) {
[0]=>
string(37) “contato@fronteiratecnologia.netne.net”
[1]=>
string(0) “”
}
}
[“cc:protected”]=>
array(0) {
}
[“bcc:protected”]=>
array(0) {
}
[“ReplyTo:protected”]=>
array(0) {
}
[“all_recipients:protected”]=>
array(1) {
[“contato@fronteiratecnologia.netne.net”]=>
bool(true)
}
[“RecipientsQueue:protected”]=>
array(0) {
}
[“ReplyToQueue:protected”]=>
array(0) {
}
[“attachment:protected”]=>
array(0) {
}
[“CustomHeader:protected”]=>
array(0) {
}
[“lastMessageID:protected”]=>
string(64) “<25184a49e46169a9b98f15ecca5cca04@fronteiratecnologia.netne.net>”
[“message_type:protected”]=>
string(5) “plain”
[“boundary:protected”]=>
array(3) {
[1]=>
string(35) “b1_25184a49e46169a9b98f15ecca5cca04”
[2]=>
string(35) “b2_25184a49e46169a9b98f15ecca5cca04”
[3]=>
string(35) “b3_25184a49e46169a9b98f15ecca5cca04”
}
[“language:protected”]=>
array(0) {
}
[“error_count:protected”]=>
int(0)
[“sign_cert_file:protected”]=>
string(0) “”
[“sign_key_file:protected”]=>
string(0) “”
[“sign_extracerts_file:protected”]=>
string(0) “”
[“sign_key_pass:protected”]=>
string(0) “”
[“exceptions:protected”]=>
bool(true)
[“uniqueid:protected”]=>
string(32) “25184a49e46169a9b98f15ecca5cca04”
}
The SMTP debugging output is shown below:
2016-10-18 18:23:57 Connection: opening to mx.000webhost.com:25, timeout=300, options=array (
)
2016-10-18 18:23:57 Connection: opened
2016-10-18 18:23:57 SMTP -> get_lines(): $data is “”
2016-10-18 18:23:57 SMTP -> get_lines(): $str is “220 mx.000webhost.com ESMTP [000webhost.com Mail System]
”
2016-10-18 18:23:57 SERVER -> CLIENT: 220 mx.000webhost.com ESMTP [000webhost.com Mail System]
2016-10-18 18:23:57 CLIENT -> SERVER: EHLO fronteiratecnologia.netne.net
2016-10-18 18:23:57 SMTP -> get_lines(): $data is “”
2016-10-18 18:23:57 SMTP -> get_lines(): $str is “250-mx.000webhost.com
”
2016-10-18 18:23:57 SMTP -> get_lines(): $data is “250-mx.000webhost.com
”
2016-10-18 18:23:57 SMTP -> get_lines(): $str is “250-PIPELINING
”
2016-10-18 18:23:57 SMTP -> get_lines(): $data is “250-mx.000webhost.com
250-PIPELINING
”
2016-10-18 18:23:57 SMTP -> get_lines(): $str is “250-SIZE 5728640
”
2016-10-18 18:23:57 SMTP -> get_lines(): $data is “250-mx.000webhost.com
250-PIPELINING
250-SIZE 5728640
”
2016-10-18 18:23:57 SMTP -> get_lines(): $str is “250-ETRN
”
2016-10-18 18:23:57 SMTP -> get_lines(): $data is “250-mx.000webhost.com
250-PIPELINING
250-SIZE 5728640
250-ETRN
”
2016-10-18 18:23:57 SMTP -> get_lines(): $str is “250-AUTH PLAIN LOGIN
”
2016-10-18 18:23:57 SMTP -> get_lines(): $data is “250-mx.000webhost.com
250-PIPELINING
250-SIZE 5728640
250-ETRN
250-AUTH PLAIN LOGIN
”
2016-10-18 18:23:57 SMTP -> get_lines(): $str is “250-ENHANCEDSTATUSCODES
”
2016-10-18 18:23:57 SMTP -> get_lines(): $data is “250-mx.000webhost.com
250-PIPELINING
250-SIZE 5728640
250-ETRN
250-AUTH PLAIN LOGIN
250-ENHANCEDSTATUSCODES
”
2016-10-18 18:23:57 SMTP -> get_lines(): $str is “250-8BITMIME
”
2016-10-18 18:23:57 SMTP -> get_lines(): $data is “250-mx.000webhost.com
250-PIPELINING
250-SIZE 5728640
250-ETRN
250-AUTH PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
”
2016-10-18 18:23:57 SMTP -> get_lines(): $str is “250 DSN
”
2016-10-18 18:23:57 SERVER -> CLIENT: 250-mx.000webhost.com
250-PIPELINING
250-SIZE 5728640
250-ETRN
250-AUTH PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
2016-10-18 18:23:57 Auth method requested: UNKNOWN
2016-10-18 18:23:57 Auth methods available on the server: PLAIN,LOGIN
2016-10-18 18:23:57 Auth method selected: LOGIN
2016-10-18 18:23:57 CLIENT -> SERVER: AUTH LOGIN
2016-10-18 18:23:57 SMTP -> get_lines(): $data is “”
2016-10-18 18:23:57 SMTP -> get_lines(): $str is “334 VXNlcm5hbWU6
”
2016-10-18 18:23:57 SERVER -> CLIENT: 334 VXNlcm5hbWU6
2016-10-18 18:23:57 CLIENT -> SERVER: Y29udGF0b0Bmcm9udGVpcmF0ZWNub2xvZ2lhLm5ldG5lLm5ldA==
2016-10-18 18:23:57 SMTP -> get_lines(): $data is “”
2016-10-18 18:23:57 SMTP -> get_lines(): $str is “334 UGFzc3dvcmQ6
”
2016-10-18 18:23:57 SERVER -> CLIENT: 334 UGFzc3dvcmQ6
2016-10-18 18:23:57 CLIENT -> SERVER: MXFhejJ3c3gzZWRjNHJmdjV0Z2I=
2016-10-18 18:23:57 SMTP -> get_lines(): $data is “”
2016-10-18 18:23:57 SMTP -> get_lines(): $str is “235 2.7.0 Authentication successful
”
2016-10-18 18:23:57 SERVER -> CLIENT: 235 2.7.0 Authentication successful
2016-10-18 18:23:57 CLIENT -> SERVER: MAIL FROM:
2016-10-18 18:23:57 SMTP -> get_lines(): $data is “”
2016-10-18 18:23:57 SMTP -> get_lines(): $str is “250 2.1.0 Ok
”
2016-10-18 18:23:57 SERVER -> CLIENT: 250 2.1.0 Ok
2016-10-18 18:23:57 CLIENT -> SERVER: RCPT TO:
2016-10-18 18:23:57 SMTP -> get_lines(): $data is “”
2016-10-18 18:23:57 SMTP -> get_lines(): $str is “250 2.1.5 Ok
”
2016-10-18 18:23:57 SERVER -> CLIENT: 250 2.1.5 Ok
2016-10-18 18:23:57 CLIENT -> SERVER: DATA
2016-10-18 18:23:57 SMTP -> get_lines(): $data is “”
2016-10-18 18:23:57 SMTP -> get_lines(): $str is “354 End data with .
”
2016-10-18 18:23:57 SERVER -> CLIENT: 354 End data with .
2016-10-18 18:23:57 CLIENT -> SERVER: Date: Tue, 18 Oct 2016 18:23:57 +0000
2016-10-18 18:23:57 CLIENT -> SERVER: To: contato@fronteiratecnologia.netne.net
2016-10-18 18:23:57 CLIENT -> SERVER: From: Teste
2016-10-18 18:23:57 CLIENT -> SERVER: Subject: WP Mail SMTP: Test mail to contato@fronteiratecnologia.netne.net
2016-10-18 18:23:57 CLIENT -> SERVER: Message-ID: <25184a49e46169a9b98f15ecca5cca04@fronteiratecnologia.netne.net>
2016-10-18 18:23:57 CLIENT -> SERVER: X-Mailer: PHPMailer 5.2.14 (https://github.com/PHPMailer/PHPMailer)
2016-10-18 18:23:57 CLIENT -> SERVER: MIME-Version: 1.0
2016-10-18 18:23:57 CLIENT -> SERVER: Content-Type: text/plain; charset=UTF-8
2016-10-18 18:23:57 CLIENT -> SERVER: Content-Transfer-Encoding: 8bit
2016-10-18 18:23:57 CLIENT -> SERVER:
2016-10-18 18:23:57 CLIENT -> SERVER: This is a test email generated by the WP Mail SMTP WordPress plugin.
2016-10-18 18:23:57 CLIENT -> SERVER:
2016-10-18 18:23:57 CLIENT -> SERVER: .
2016-10-18 18:23:57 SMTP -> get_lines(): $data is “”
2016-10-18 18:23:57 SMTP -> get_lines(): $str is “250 2.0.0 Ok: queued as BDEFE16487EC
”
2016-10-18 18:23:57 SERVER -> CLIENT: 250 2.0.0 Ok: queued as BDEFE16487EC
2016-10-18 18:23:57 CLIENT -> SERVER: QUIT
2016-10-18 18:23:57 SMTP -> get_lines(): $data is “”
2016-10-18 18:23:57 SMTP -> get_lines(): $str is “221 2.0.0 Bye
”
2016-10-18 18:23:57 SERVER -> CLIENT: 221 2.0.0 Bye
2016-10-18 18:23:57 Connection: closedAi o log.
Estranho que tentei enviar um email usando o webmail do próprio host e mesmo assim não enviou o email, creio eu que o problema possa ser nos servidores deles.Bom, o teste foi bem sucedido. Mesmo assim as mensagens do CF7 não chegam no email?
Se você criou a conta de email hoje, espere um pouco e tente novamente amanhã.
-
Esta resposta foi modificada 7 anos, 1 mês atrás por
- O tópico ‘Problema com envio de email usando o CF7 no host 000webhost’ está fechado para novas respostas.