I have a Docker container running PHP and Apache AWS instance which has the docker instance running. I am not able to send an email from the docker terminal. Is there any way to send an email from docker instance using Sendmail which uses the docker's host's configuration?.
I am not sure what the error is.