Error sending mail with SMTP

yusufo 09 May, 2016
Good morning,

I am trying to debug why my form is not sending mail and this is the debug message it shows:

Mailer Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

2016-05-09 08:32:06 Connection: opening to 185.18.196.156:587, timeout=300, options=array ( )
2016-05-09 08:32:06 Connection: opened
2016-05-09 08:32:06 SMTP -> get_lines(): $data is ""
2016-05-09 08:32:06 SMTP -> get_lines(): $str is "220 s1.ticsam.com ESMTP "
2016-05-09 08:32:06 SERVER -> CLIENT: 220 s1.ticsam.com ESMTP
2016-05-09 08:32:06 CLIENT -> SERVER: EHLO www.miticatechnology.com
2016-05-09 08:32:06 SMTP -> get_lines(): $data is ""
2016-05-09 08:32:06 SMTP -> get_lines(): $str is "250-s1.ticsam.com "
2016-05-09 08:32:06 SMTP -> get_lines(): $data is "250-s1.ticsam.com "
2016-05-09 08:32:06 SMTP -> get_lines(): $str is "250-AUTH=LOGIN CRAM-MD5 PLAIN "
2016-05-09 08:32:06 SMTP -> get_lines(): $data is "250-s1.ticsam.com 250-AUTH=LOGIN CRAM-MD5 PLAIN "
2016-05-09 08:32:06 SMTP -> get_lines(): $str is "250-AUTH LOGIN CRAM-MD5 PLAIN "
2016-05-09 08:32:06 SMTP -> get_lines(): $data is "250-s1.ticsam.com 250-AUTH=LOGIN CRAM-MD5 PLAIN 250-AUTH LOGIN CRAM-MD5 PLAIN "
2016-05-09 08:32:06 SMTP -> get_lines(): $str is "250-STARTTLS "
2016-05-09 08:32:06 SMTP -> get_lines(): $data is "250-s1.ticsam.com 250-AUTH=LOGIN CRAM-MD5 PLAIN 250-AUTH LOGIN CRAM-MD5 PLAIN 250-STARTTLS "
2016-05-09 08:32:06 SMTP -> get_lines(): $str is "250-PIPELINING "
2016-05-09 08:32:06 SMTP -> get_lines(): $data is "250-s1.ticsam.com 250-AUTH=LOGIN CRAM-MD5 PLAIN 250-AUTH LOGIN CRAM-MD5 PLAIN 250-STARTTLS 250-PIPELINING "
2016-05-09 08:32:06 SMTP -> get_lines(): $str is "250 8BITMIME "
2016-05-09 08:32:06 SERVER -> CLIENT: 250-s1.ticsam.com 250-AUTH=LOGIN CRAM-MD5 PLAIN 250-AUTH LOGIN CRAM-MD5 PLAIN 250-STARTTLS 250-PIPELINING 250 8BITMIME
2016-05-09 08:32:06 CLIENT -> SERVER: STARTTLS
2016-05-09 08:32:06 SMTP -> get_lines(): $data is ""
2016-05-09 08:32:06 SMTP -> get_lines(): $str is "220 ready for tls "
2016-05-09 08:32:06 SERVER -> CLIENT: 220 ready for tls
2016-05-09 08:32:06 SMTP Error: Could not connect to SMTP host.
2016-05-09 08:32:06 CLIENT -> SERVER: QUIT
2016-05-09 08:32:06 SMTP -> get_lines(): $data is ""
2016-05-09 08:32:06 SMTP -> get_lines(): $str is "  ��M��c��o)ڙ�9WR-inҦ�f�`�aal~J�9���7������}���s�]���#Q��ч�3!7��%����2�}�Og]��{�^X�[(�B���ɳ�1e���ycq�t�6�������ᠣ���G��;��~��R�evT���G1��*J�u=�:�� ���$&줻Y�c���H��I�t)jH t���.�!���4u݋RAҒ��%�d��D� ß���ۙ���a��w0v��,����f9La��LNj[�]!͊f��JbTv�aP��n��-��p��.���)��M׭�>�Їe�0j�f���%�uQ�c0Փ����dL��Q���[#d�4:���\�P����)/����<�h�?|<���b2Y���zq�"]2�������RU��'ʒ����ħ���!��P��(�(U�y�F�^ɔ�e�HDWBtɘ5ݤᕓ��#!��4�"
2016-05-09 08:32:06 SMTP -> get_lines(): $data is "  ��M��c��o)ڙ�9WR-inҦ�f�`�aal~J�9���7������}���s�]���#Q��ч�3!7��%����2�}�Og]��{�^X�[(�B���ɳ�1e���ycq�t�6�������ᠣ���G��;��~��R�evT���G1��*J�u=�:�� ���$&줻Y�c���H��I�t)jH t���.�!���4u݋RAҒ��%�d��D� ß���ۙ���a��w0v��,����f9La��LNj[�]!͊f��JbTv�aP��n��-��p��.���)��M׭�>�Їe�0j�f���%�uQ�c0Փ����dL��Q���[#d�4:���\�P����)/����<�h�?|<���b2Y���zq�"]2�������RU��'ʒ����ħ���!��P��(�(U�y�F�^ɔ�e�HDWBtɘ5ݤᕓ��#!��4�"
2016-05-09 08:32:06 SMTP -> get_lines(): $str is "���v‘��PcX֍�=454 TLS connection failed: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (#4.3.0) "
2016-05-09 08:32:06 SERVER -> CLIENT:   ��M��c��o)ڙ�9WR-inҦ�f�`�aal~J�9���7������}���s�]���#Q��ч�3!7��%����2�}�Og]��{�^X�[(�B���ɳ�1e���ycq�t�6�������ᠣ���G��;��~��R�evT���G1��*J�u=�:�� ���$&줻Y�c���H��I�t)jH t���.�!���4u݋RAҒ��%�d��D� ß���ۙ���a��w0v��,����f9La��LNj[�]!͊f��JbTv�aP��n��-��p��.���)��M׭�>�Їe�0j�f���%�uQ�c0Փ����dL��Q���[#d�4:���\�P����)/����<�h�?|<���b2Y���zq�"]2�������RU��'ʒ����ħ���!��P��(�(U�y�F�^ɔ�e�HDWBtɘ5ݤᕓ��#!��4����v‘��PcX֍�=454 TLS connection failed: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (#4.3.0)
2016-05-09 08:32:06 SMTP ERROR: QUIT command failed:   ��M��c��o)ڙ�9WR-inҦ�f�`�aal~J�9���7������}���s�]���#Q��ч�3!7��%����2�}�Og]��{�^X�[(�B���ɳ�1e���ycq�t�6�������ᠣ���G��;��~��R�evT���G1��*J�u=�:�� ���$&줻Y�c���H��I�t)jH t���.�!���4u݋RAҒ��%�d��D� ß���ۙ���a��w0v��,����f9La��LNj[�]!͊f��JbTv�aP��n��-��p��.���)��M׭�>�Їe�0j�f���%�uQ�c0Փ����dL��Q���[#d�4:���\�P����)/����<�h�?|<���b2Y���zq�"]2�������RU��'ʒ����ħ���!��P��(�(U�y�F�^ɔ�e�HDWBtɘ5ݤᕓ��#!��4����v‘��PcX֍�=454 TLS connection failed: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca (#4.3.0)
2016-05-09 08:32:06 Connection: closed
2016-05-09 08:32:06 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting 


I am not using PHPMailer. I have selected SMTP because on my server I have disabled PHPMail.

Thank you
GreyHead 09 May, 2016
Hi yusofo,

Do you have SMTP configured for your site in the Global Configuration or are you using the ChronoForms Settings to over-ride the site settings?

In either case it looks as though there is an error in the SMTP settings.

Bob
yusufo 21 Jun, 2016
Hi,

I have SMTP configured on Joomla Global Setting and when I send a test mail, I receive this mail.

Thanks Bob
GreyHead 22 Jun, 2016
Hi yusufo,

The only error messages I can see in the output appear to be about a missing SSL certificate.

If the Joomla! Mailer is working using SMTP then I suggest that you remove the ChronoForms mailer settings so that the Joomla! mailer is used.

Bob
This topic is locked and no more replies can be posted.