Skip to main content
título editado
Enlace

¿Cómo habilitar el envípenvío de correo con con AWS SES usando phpmailer desde ubuntu?

Como ¿Cómo habilitar el envióenvíp de correo con con AWS SES usando phpmailer desde ubuntu?

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

Como habilitar el envió de correo con con AWS SES usando phpmailer desde ubuntu

estoy 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

cuando uso tls 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

¿Cómo habilitar el envíp de correo con con AWS SES usando phpmailer desde ubuntu?

Estoy 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.

Cuando uso tls 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

título editado
Enlace

Como habilitar enel envió de correo con con AWS SES usando phpmailer desde ubuntu

se añadieron 3658 caracteres en el cuerpo
Origen Enlace
Loading
se añadieron 704 caracteres en el cuerpo
Origen Enlace
Loading
Origen Enlace
Loading