Hello all,
I have my forum hosted on Amazon EC2 and am trying to use Amazon SES to send emails. I created SMTP credentials on the SES side and am trying to use those to set up email from my forum but I get the following error:
[2020-07-15 17:09:06] production.ERROR: Swift_TransportException: Connection could not be established with host email-smtp.us-east-2.amazonaws.com :stream_socket_client(): unable to connect to tcp://email-smtp.us-east-2.amazonaws.com:25 (Connection timed out) in /var/www/forum/flarum/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:269
I am able to connect to the email host using telnet so it seems like a problem with flarum. Anyone have any ideas? Any driver I am supposed to install?
Happy to provide more information if helpful.