This problem was caused by email sending in whmcs.
You are giving the following error
2017-08-13 16:43:12 Connection: opening to smtp.sideralhost.com.br:587, timeout=300, options=array ( ) 2017-08-13 16:43:12 Connection: opened 2017-08-13 16:43:12 SMTP -> get_lines(): $data is "" 2017-08-13 16:43:12 SMTP -> get_lines(): $str is "220 ns544436.ip-158-69-250.net ESMTP Postfix " 2017-08-13 16:43:12 SERVER -> CLIENT: 220 ns544436.ip-158-69-250.net ESMTP Postfix 2017-08-13 16:43:12 CLIENT -> SERVER: EHLO sideralhost.com.br 2017-08-13 16:43:12 SMTP -> get_lines(): $data is "" 2017-08-13 16:43:12 SMTP -> get_lines(): $str is "250-ns544436.ip-158-69-250.net " 2017-08-13 16:43:12 SMTP -> get_lines(): $data is "250-ns544436.ip-158-69-250.net " 2017-08-13 16:43:12 SMTP -> get_lines(): $str is "250-PIPELINING " 2017-08-13 16:43:12 SMTP -> get_lines(): $data is "250-ns544436.ip-158-69-250.net 250-PIPELINING " 2017-08-13 16:43:12 SMTP -> get_lines(): $str is "250-SIZE 10240000 " 2017-08-13 16:43:12 SMTP -> get_lines(): $data is "250-ns544436.ip-158-69-250.net 250-PIPELINING 250-SIZE 10240000 " 2017-08-13 16:43:12 SMTP -> get_lines(): $str is "250-ETRN " 2017-08-13 16:43:12 SMTP -> get_lines(): $data is "250-ns544436.ip-158-69-250.net 250-PIPELINING 250-SIZE 10240000 250-ETRN " 2017-08-13 16:43:12 SMTP -> get_lines(): $str is "250-STARTTLS " 2017-08-13 16:43:12 SMTP -> get_lines(): $data is "250-ns544436.ip-158-69-250.net 250-PIPELINING 250-SIZE 10240000 250-ETRN 250-STARTTLS " 2017-08-13 16:43:12 SMTP -> get_lines(): $str is "250-ENHANCEDSTATUSCODES " 2017-08-13 16:43:12 SMTP -> get_lines(): $data is "250-ns544436.ip-158-69-250.net 250-PIPELINING 250-SIZE 10240000 250-ETRN 250-STARTTLS 250-ENHANCEDSTATUSCODES " 2017-08-13 16:43:12 SMTP -> get_lines(): $str is "250-8BITMIME " 2017-08-13 16:43:12 SMTP -> get_lines(): $data is "250-ns544436.ip-158-69-250.net 250-PIPELINING 250-SIZE 10240000 250-ETRN 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-8BITMIME " 2017-08-13 16:43:12 SMTP -> get_lines(): $str is "250 DSN " 2017-08-13 16:43:12 SERVER -> CLIENT: 250-ns544436.ip-158-69-250.net 250-PIPELINING 250-SIZE 10240000 250-ETRN 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN 2017-08-13 16:43:12 CLIENT -> SERVER: STARTTLS 2017-08-13 16:43:12 SMTP -> get_lines(): $data is "" 2017-08-13 16:43:12 SMTP -> get_lines(): $str is "220 2.0.0 Ready to start TLS " 2017-08-13 16:43:12 SERVER -> CLIENT: 220 2.0.0 Ready to start TLS 2017-08-13 16:43:12 SMTP Error: Could not connect to SMTP host. 2017-08-13 16:43:12 CLIENT -> SERVER: QUIT 2017-08-13 16:43:12 SMTP -> get_lines(): $data is "" 2017-08-13 16:43:12 SMTP -> get_lines(): $str is "" 2017-08-13 16:43:12 SERVER -> CLIENT: 2017-08-13 16:43:12 SMTP ERROR: QUIT command failed: 2017-08-13 16:43:12 Connection: closed 2017-08-13 16:43:12 SMTP Error: Could not connect to SMTP host.
Email Sending Failed - SMTP Error: Could not connect to SMTP host.
You are giving the following error
2017-08-13 16:43:12 Connection: opening to smtp.sideralhost.com.br:587, timeout=300, options=array ( ) 2017-08-13 16:43:12 Connection: opened 2017-08-13 16:43:12 SMTP -> get_lines(): $data is "" 2017-08-13 16:43:12 SMTP -> get_lines(): $str is "220 ns544436.ip-158-69-250.net ESMTP Postfix " 2017-08-13 16:43:12 SERVER -> CLIENT: 220 ns544436.ip-158-69-250.net ESMTP Postfix 2017-08-13 16:43:12 CLIENT -> SERVER: EHLO sideralhost.com.br 2017-08-13 16:43:12 SMTP -> get_lines(): $data is "" 2017-08-13 16:43:12 SMTP -> get_lines(): $str is "250-ns544436.ip-158-69-250.net " 2017-08-13 16:43:12 SMTP -> get_lines(): $data is "250-ns544436.ip-158-69-250.net " 2017-08-13 16:43:12 SMTP -> get_lines(): $str is "250-PIPELINING " 2017-08-13 16:43:12 SMTP -> get_lines(): $data is "250-ns544436.ip-158-69-250.net 250-PIPELINING " 2017-08-13 16:43:12 SMTP -> get_lines(): $str is "250-SIZE 10240000 " 2017-08-13 16:43:12 SMTP -> get_lines(): $data is "250-ns544436.ip-158-69-250.net 250-PIPELINING 250-SIZE 10240000 " 2017-08-13 16:43:12 SMTP -> get_lines(): $str is "250-ETRN " 2017-08-13 16:43:12 SMTP -> get_lines(): $data is "250-ns544436.ip-158-69-250.net 250-PIPELINING 250-SIZE 10240000 250-ETRN " 2017-08-13 16:43:12 SMTP -> get_lines(): $str is "250-STARTTLS " 2017-08-13 16:43:12 SMTP -> get_lines(): $data is "250-ns544436.ip-158-69-250.net 250-PIPELINING 250-SIZE 10240000 250-ETRN 250-STARTTLS " 2017-08-13 16:43:12 SMTP -> get_lines(): $str is "250-ENHANCEDSTATUSCODES " 2017-08-13 16:43:12 SMTP -> get_lines(): $data is "250-ns544436.ip-158-69-250.net 250-PIPELINING 250-SIZE 10240000 250-ETRN 250-STARTTLS 250-ENHANCEDSTATUSCODES " 2017-08-13 16:43:12 SMTP -> get_lines(): $str is "250-8BITMIME " 2017-08-13 16:43:12 SMTP -> get_lines(): $data is "250-ns544436.ip-158-69-250.net 250-PIPELINING 250-SIZE 10240000 250-ETRN 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-8BITMIME " 2017-08-13 16:43:12 SMTP -> get_lines(): $str is "250 DSN " 2017-08-13 16:43:12 SERVER -> CLIENT: 250-ns544436.ip-158-69-250.net 250-PIPELINING 250-SIZE 10240000 250-ETRN 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN 2017-08-13 16:43:12 CLIENT -> SERVER: STARTTLS 2017-08-13 16:43:12 SMTP -> get_lines(): $data is "" 2017-08-13 16:43:12 SMTP -> get_lines(): $str is "220 2.0.0 Ready to start TLS " 2017-08-13 16:43:12 SERVER -> CLIENT: 220 2.0.0 Ready to start TLS 2017-08-13 16:43:12 SMTP Error: Could not connect to SMTP host. 2017-08-13 16:43:12 CLIENT -> SERVER: QUIT 2017-08-13 16:43:12 SMTP -> get_lines(): $data is "" 2017-08-13 16:43:12 SMTP -> get_lines(): $str is "" 2017-08-13 16:43:12 SERVER -> CLIENT: 2017-08-13 16:43:12 SMTP ERROR: QUIT command failed: 2017-08-13 16:43:12 Connection: closed 2017-08-13 16:43:12 SMTP Error: Could not connect to SMTP host.
Email Sending Failed - SMTP Error: Could not connect to SMTP host.