estoyEstoy haciendo pruebas para enviar por phpmailer
correos, usando el endpoint de AWS SES
, en localhost me funciona, pero en el servidor montado sobre Ubuntu da error, alguien le ha pasado algo similar? agradezco cualquier ayuda, gracias de antemano.
cuandoCuando uso tlstls me da este error
2019-10-18 12:58:39 Connection: opening to email-smtp.us-east-1.amazonaws.com:587, timeout=300, options=array ( 'ssl' => array ( 'verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true, ), ) 2019-10-18 12:58:39 Connection: opened 2019-10-18 12:58:39 SMTP -> get_lines(): $data is "" 2019-10-18 12:58:39 SMTP -> get_lines(): $str is "220 email-smtp.amazonaws.com ESMTP SimpleEmailService-d-1LXKVIWE0 JXenCeX6eVnvJGrwZy7l " 2019-10-18 12:58:39 SERVER -> CLIENT: 220 email-smtp.amazonaws.com ESMTP SimpleEmailService-d-1LXKVIWE0 JXenCeX6eVnvJGrwZy7l 2019-10-18 12:58:39 CLIENT -> SERVER: EHLO 172.30.222.76 2019-10-18 12:58:39 SMTP -> get_lines(): $data is "" 2019-10-18 12:58:39 SMTP -> get_lines(): $str is "250-email-smtp.amazonaws.com " 2019-10-18 12:58:39 SMTP -> get_lines(): $data is "250-email-smtp.amazonaws.com " 2019-10-18 12:58:39 SMTP -> get_lines(): $str is "250-8BITMIME " 2019-10-18 12:58:39 SMTP -> get_lines(): $data is "250-email-smtp.amazonaws.com 250-8BITMIME " 2019-10-18 12:58:39 SMTP -> get_lines(): $str is "250-SIZE 10485760 " 2019-10-18 12:58:39 SMTP -> get_lines(): $data is "250-email-smtp.amazonaws.com 250-8BITMIME 250-SIZE 10485760 " 2019-10-18 12:58:39 SMTP -> get_lines(): $str is "250-STARTTLS " 2019-10-18 12:58:39 SMTP -> get_lines(): $data is "250-email-smtp.amazonaws.com 250-8BITMIME 250-SIZE 10485760 250-STARTTLS " 2019-10-18 12:58:39 SMTP -> get_lines(): $str is "250-AUTH PLAIN LOGIN " 2019-10-18 12:58:39 SMTP -> get_lines(): $data is "250-email-smtp.amazonaws.com 250-8BITMIME 250-SIZE 10485760 250-STARTTLS 250-AUTH PLAIN LOGIN " 2019-10-18 12:58:39 SMTP -> get_lines(): $str is "250 Ok " 2019-10-18 12:58:39 SERVER -> CLIENT: 250-email-smtp.amazonaws.com 250-8BITMIME 250-SIZE 10485760 250-STARTTLS 250-AUTH PLAIN LOGIN 250 Ok 2019-10-18 12:58:39 CLIENT -> SERVER: STARTTLS 2019-10-18 12:58:40 SMTP -> get_lines(): $data is "" 2019-10-18 12:58:40 SMTP -> get_lines(): $str is "220 Ready to start TLS " 2019-10-18 12:58:40 SERVER -> CLIENT: 220 Ready to start TLS 2019-10-18 13:03:40 SMTP Error: Could not connect to SMTP host. 2019-10-18 13:03:40 CLIENT -> SERVER: QUIT 2019-10-18 13:03:40 SMTP -> get_lines(): $data is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $str is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $data is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $str is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $data is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $str is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $data is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $str is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $data is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $str is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $data is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $str is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $data is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $str is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $data is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $str is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $data is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $str is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $data is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $str is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $data is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $str is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $data is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $str is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $data is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $str is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $data is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $str is "" 2019-10-1
2019-10-18 12:58:39 Connection: opening to email-smtp.us-east-1.amazonaws.com:587, timeout=300, options=array ( 'ssl' => array ( 'verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true, ), ) 2019-10-18 12:58:39 Connection: opened 2019-10-18 12:58:39 SMTP -> get_lines(): $data is "" 2019-10-18 12:58:39 SMTP -> get_lines(): $str is "220 email-smtp.amazonaws.com ESMTP SimpleEmailService-d-1LXKVIWE0 JXenCeX6eVnvJGrwZy7l " 2019-10-18 12:58:39 SERVER -> CLIENT: 220 email-smtp.amazonaws.com ESMTP SimpleEmailService-d-1LXKVIWE0 JXenCeX6eVnvJGrwZy7l 2019-10-18 12:58:39 CLIENT -> SERVER: EHLO 172.30.222.76 2019-10-18 12:58:39 SMTP -> get_lines(): $data is "" 2019-10-18 12:58:39 SMTP -> get_lines(): $str is "250-email-smtp.amazonaws.com " 2019-10-18 12:58:39 SMTP -> get_lines(): $data is "250-email-smtp.amazonaws.com " 2019-10-18 12:58:39 SMTP -> get_lines(): $str is "250-8BITMIME " 2019-10-18 12:58:39 SMTP -> get_lines(): $data is "250-email-smtp.amazonaws.com 250-8BITMIME " 2019-10-18 12:58:39 SMTP -> get_lines(): $str is "250-SIZE 10485760 " 2019-10-18 12:58:39 SMTP -> get_lines(): $data is "250-email-smtp.amazonaws.com 250-8BITMIME 250-SIZE 10485760 " 2019-10-18 12:58:39 SMTP -> get_lines(): $str is "250-STARTTLS " 2019-10-18 12:58:39 SMTP -> get_lines(): $data is "250-email-smtp.amazonaws.com 250-8BITMIME 250-SIZE 10485760 250-STARTTLS " 2019-10-18 12:58:39 SMTP -> get_lines(): $str is "250-AUTH PLAIN LOGIN " 2019-10-18 12:58:39 SMTP -> get_lines(): $data is "250-email-smtp.amazonaws.com 250-8BITMIME 250-SIZE 10485760 250-STARTTLS 250-AUTH PLAIN LOGIN " 2019-10-18 12:58:39 SMTP -> get_lines(): $str is "250 Ok " 2019-10-18 12:58:39 SERVER -> CLIENT: 250-email-smtp.amazonaws.com 250-8BITMIME 250-SIZE 10485760 250-STARTTLS 250-AUTH PLAIN LOGIN 250 Ok 2019-10-18 12:58:39 CLIENT -> SERVER: STARTTLS 2019-10-18 12:58:40 SMTP -> get_lines(): $data is "" 2019-10-18 12:58:40 SMTP -> get_lines(): $str is "220 Ready to start TLS " 2019-10-18 12:58:40 SERVER -> CLIENT: 220 Ready to start TLS 2019-10-18 13:03:40 SMTP Error: Could not connect to SMTP host. 2019-10-18 13:03:40 CLIENT -> SERVER: QUIT 2019-10-18 13:03:40 SMTP -> get_lines(): $data is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $str is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $data is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $str is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $data is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $str is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $data is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $str is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $data is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $str is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $data is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $str is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $data is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $str is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $data is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $str is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $data is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $str is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $data is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $str is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $data is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $str is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $data is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $str is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $data is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $str is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $data is "" 2019-10-18 13:03:40 SMTP -> get_lines(): $str is "" 2019-10-1