Estoy intentando enviar correos con phpmailer usando la API de AWS SES, desde mi localhost con XAMPP logro hacerlo correctamente, pero cuando lo envío desde el servidor en linux ubuntu da error:
Connection: opening to ssl://email-smtp.us-east-1.amazonaws.com:465, timeout=300, options=array ( 'ssl' => array ( 'verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true, ), ) 2019-10-18 12:15:29 Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client(): SSL: Handshake timed out 2019-10-18 12:15:29 Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client(): Failed to enable crypto 2019-10-18 12:15:29 Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client(): unable to connect to ssl://email-smtp.us-east-1.amazonaws.com:465 (Unknown error) 2019-10-18 12:15:29 SMTP ERROR: Failed to connect to server: (0) 2019-10-18 12:15:29 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
¿A alguien le ha sucedido algo parecido?