AWS WorkMail Not Sending Emails – Credentials Working Fine in Other Web Apps

timeout means that your container can’t connect to the host and port that you’re sending it to. It’s likely a networking issue in Docker (sort of unlikely) or a networking/firewall issue with your VM and/or AWS (more likely and there are like 100,000 ways that you can do it wrong.)