Jump to content

Problemas no Envio de EMail via WHMCS


Recommended Posts

Olá nao consigo enviar email via WHMCS -- segue a print

 

Abra seu configuration.php e insira a linha:

$smtp_debug="on";

Antes disso certifique-se que as configurações de SMTP ( Aba Mail/Email ) estejam corretas.

 

screenshot_76.png
Link to comment
Share on other sites

SMTP -> get_lines(): $data was ""SMTP -> get_lines(): $str is "220 mx.google.com ESMTP p1sm2126855vdp.17 - gsmtp "SMTP -> get_lines(): $data is "220 mx.google.com ESMTP p1sm2126855vdp.17 - gsmtp "SMTP -> FROM SERVER:220 mx.google.com ESMTP p1sm2126855vdp.17 - gsmtp CLIENT -> SMTP: EHLO arteepub.com SMTP -> get_lines(): $data was ""SMTP -> get_lines(): $str is "250-mx.google.com at your service, [186.202.127.64] "SMTP -> get_lines(): $data is "250-mx.google.com at your service, [186.202.127.64] "SMTP -> get_lines(): $data was "250-mx.google.com at your service, [186.202.127.64] "SMTP -> get_lines(): $str is "250-SIZE 35882577 "SMTP -> get_lines(): $data is "250-mx.google.com at your service, [186.202.127.64] 250-SIZE 35882577 "SMTP -> get_lines(): $data was "250-mx.google.com at your service, [186.202.127.64] 250-SIZE 35882577 "SMTP -> get_lines(): $str is "250-8BITMIME "SMTP -> get_lines(): $data is "250-mx.google.com at your service, [186.202.127.64] 250-SIZE 35882577 250-8BITMIME "SMTP -> get_lines(): $data was "250-mx.google.com at your service, [186.202.127.64] 250-SIZE 35882577 250-8BITMIME "SMTP -> get_lines(): $str is "250-STARTTLS "SMTP -> get_lines(): $data is "250-mx.google.com at your service, [186.202.127.64] 250-SIZE 35882577 250-8BITMIME 250-STARTTLS "SMTP -> get_lines(): $data was "250-mx.google.com at your service, [186.202.127.64] 250-SIZE 35882577 250-8BITMIME 250-STARTTLS "SMTP -> get_lines(): $str is "250-ENHANCEDSTATUSCODES "SMTP -> get_lines(): $data is "250-mx.google.com at your service, [186.202.127.64] 250-SIZE 35882577 250-8BITMIME 250-STARTTLS 250-ENHANCEDSTATUSCODES "SMTP -> get_lines(): $data was "250-mx.google.com at your service, [186.202.127.64] 250-SIZE 35882577 250-8BITMIME 250-STARTTLS 250-ENHANCEDSTATUSCODES "SMTP -> get_lines(): $str is "250 CHUNKING "SMTP -> get_lines(): $data is "250-mx.google.com at your service, [186.202.127.64] 250-SIZE 35882577 250-8BITMIME 250-STARTTLS 250-ENHANCEDSTATUSCODES 250 CHUNKING "SMTP -> FROM SERVER:250-mx.google.com at your service, [186.202.127.64] 250-SIZE 35882577 250-8BITMIME 250-STARTTLS 250-ENHANCEDSTATUSCODES 250 CHUNKING CLIENT -> SMTP: STARTTLS SMTP -> get_lines(): $data was ""SMTP -> get_lines(): $str is "220 2.0.0 Ready to start TLS "SMTP -> get_lines(): $data is "220 2.0.0 Ready to start TLS "SMTP -> FROM SERVER:220 2.0.0 Ready to start TLS CLIENT -> SMTP: EHLO arteepub.com SMTP -> get_lines(): $data was ""SMTP -> get_lines(): $str is "250-mx.google.com at your service, [186.202.127.64] "SMTP -> get_lines(): $data is "250-mx.google.com at your service, [186.202.127.64] "SMTP -> get_lines(): $data was "250-mx.google.com at your service, [186.202.127.64] "SMTP -> get_lines(): $str is "250-SIZE 35882577 "SMTP -> get_lines(): $data is "250-mx.google.com at your service, [186.202.127.64] 250-SIZE 35882577 "SMTP -> get_lines(): $data was "250-mx.google.com at your service, [186.202.127.64] 250-SIZE 35882577 "SMTP -> get_lines(): $str is "250-8BITMIME "SMTP -> get_lines(): $data is "250-mx.google.com at your service, [186.202.127.64] 250-SIZE 35882577 250-8BITMIME "SMTP -> get_lines(): $data was "250-mx.google.com at your service, [186.202.127.64] 250-SIZE 35882577 250-8BITMIME "SMTP -> get_lines(): $str is "250-AUTH LOGIN PLAIN XOAUTH XOAUTH2 PLAIN-CLIENTTOKEN "SMTP -> get_lines(): $data is "250-mx.google.com at your service, [186.202.127.64] 250-SIZE 35882577 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH XOAUTH2 PLAIN-CLIENTTOKEN "SMTP -> get_lines(): $data was "250-mx.google.com at your service, [186.202.127.64] 250-SIZE 35882577 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH XOAUTH2 PLAIN-CLIENTTOKEN "SMTP -> get_lines(): $str is "250-ENHANCEDSTATUSCODES "SMTP -> get_lines(): $data is "250-mx.google.com at your service, [186.202.127.64] 250-SIZE 35882577 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH XOAUTH2 PLAIN-CLIENTTOKEN 250-ENHANCEDSTATUSCODES "SMTP -> get_lines(): $data was "250-mx.google.com at your service, [186.202.127.64] 250-SIZE 35882577 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH XOAUTH2 PLAIN-CLIENTTOKEN 250-ENHANCEDSTATUSCODES "SMTP -> get_lines(): $str is "250 CHUNKING "SMTP -> get_lines(): $data is "250-mx.google.com at your service, [186.202.127.64] 250-SIZE 35882577 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH XOAUTH2 PLAIN-CLIENTTOKEN 250-ENHANCEDSTATUSCODES 250 CHUNKING "SMTP -> FROM SERVER:250-mx.google.com at your service, [186.202.127.64] 250-SIZE 35882577 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH XOAUTH2 PLAIN-CLIENTTOKEN 250-ENHANCEDSTATUSCODES 250 CHUNKING CLIENT -> SMTP: AUTH LOGIN SMTP -> get_lines(): $data was ""SMTP -> get_lines(): $str is "334 VXNlcm5hbWU6 "SMTP -> get_lines(): $data is "334 VXNlcm5hbWU6 "SMTP -> FROM SERVER:334 VXNlcm5hbWU6 CLIENT -> SMTP: YXVyZWxpb2hlcm1lcy5ia3BAZ21haWwuY29t SMTP -> get_lines(): $data was ""SMTP -> get_lines(): $str is "334 UGFzc3dvcmQ6 "SMTP -> get_lines(): $data is "334 UGFzc3dvcmQ6 "SMTP -> FROM SERVER:334 UGFzc3dvcmQ6 CLIENT -> SMTP: UFc3NTM0MTI= SMTP -> get_lines(): $data was ""SMTP -> get_lines(): $str is "534-5.7.14 Please log in via your web browser and then try again. "SMTP -> get_lines(): $data was "534-5.7.14 Please log in via your web browser and then try again. "SMTP -> get_lines(): $str is "534-5.7.14 Learn more at "SMTP -> get_lines(): $data is "534-5.7.14 Please log in via your web browser and then try again. 534-5.7.14 Learn more at "SMTP -> get_lines(): $data was "534-5.7.14 Please log in via your web browser and then try again. 534-5.7.14 Learn more at "SMTP -> get_lines(): $str is "534 5.7.14 https://support.google.com/mail/bin/answer.py?answer=78754 p1sm2126855vdp.17 - gsmtp "SMTP -> get_lines(): $data is "534-5.7.14  Please log in via your web browser and then try again. 534-5.7.14 Learn more at 534 5.7.14 https://support.google.com/mail/bin/answer.py?answer=78754 p1sm2126855vdp.17 - gsmtp "SMTP -> FROM SERVER:534-5.7.14  Please log in via your web browser and then try again. 534-5.7.14 Learn more at 534 5.7.14 https://support.google.com/mail/bin/answer.py?answer=78754 p1sm2126855vdp.17 - gsmtp SMTP -> ERROR: Password command failed: 534-5.7.14  Please log in via your web browser and then try again. 534-5.7.14 Learn more at 534 5.7.14 https://support.google.com/mail/bin/answer.py?answer=78754 p1sm2126855vdp.17 - gsmtp CLIENT -> SMTP: QUIT SMTP -> get_lines(): $data was ""SMTP -> get_lines(): $str is "221 2.0.0 closing connection p1sm2126855vdp.17 - gsmtp "SMTP -> get_lines(): $data is "221 2.0.0 closing connection p1sm2126855vdp.17 - gsmtp "SMTP -> FROM SERVER:221 2.0.0 closing connection p1sm2126855vdp.17 - gsmtp

retornou isso

Link to comment
Share on other sites

gsmtp SMTP -> ERROR: Password command failed: 534-5.7.14  Please log in via your web browser and then try again. 534-5.7.14 Learn more at 534 5.7.14 https://support.google.com/mail/bin/answer.py?answer=78754 p1sm2126855vdp.17 - gsmtp CLIENT -> SMTP: QUIT SMTP -> get_lines(): $data was ""SMTP -> get_lines(): $str is "221 2.0.0 closing connection p1sm2126855vdp.17 - gsmtp "SMTP -> get_lines(): $data is "221 2.0.0 closing connection p1sm2126855vdp.17 - gsmtp "SMTP -> FROM SERVER:221 2.0.0 closing connection p1sm2126855vdp.17 - gsmtp

retornou isso

 

 

Pelo que vi o problema parece ser na senha de acesso:

ERROR: Password command failed:
Link to comment
Share on other sites

 

No meu mostrou

SMTP -> ERROR: Failed to connect to server: (0)
Email Sending Failed - SMTP connect() failed.

 

Sua configuração está assim:

 

Mail Type: SMTP

SMTP Port: 587

SMTP Host: smtp.gmail.com

SMTP Username: [email protected]

SMTP SSL Type: TLS

 

Solicite ao suporte do servidor para ver se existe alguma restrição na porta 587.

 

Se você estiver utilizando Google Apps e autenticação em 2 passos a senha cadastrada deve ser uma senha de aplicativo.

Link to comment
Share on other sites

Sua configuração está assim:

 

Mail Type: SMTP

SMTP Port: 587

SMTP Host: smtp.gmail.com

SMTP Username: [email protected]

SMTP SSL Type: TLS

 

Solicite ao suporte do servidor para ver se existe alguma restrição na porta 587.

 

Se você estiver utilizando Google Apps e autenticação em 2 passos a senha cadastrada deve ser uma senha de aplicativo.

 

Tenho servidor dedicado

E o e-mail em questão é o serviço mandrill.com

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Do you agree with our terms?