Gitpod was not allowing me to send emails through the my app.
discord server
https://discord.com/channels/816244985187008514/839379835662368768

found another way to test out emails through a docker container using mailpit
docker-compose file

used his script to send test email through bash
apt-get update
apt-get install telnet
https://github.com/bigbeartechworld/big-bear-scripts/blob/master/test-smtp-connection/run.sh
I out the bash script at the root of my project. In order to use the bash script above you need the ip address of the container. I used this link to get it
https://stackoverflow.com/questions/17157721/how-to-get-a-docker-containers-ip-address-from-the-host

when I did the above to get the Ip address it sent me back this

this is actually two ip address concatenated. So i ended up getting the ip address like this


`docker inspect mailpit | jq -r '.[].NetworkSettings.Networks."werm-network".IPAddress'`




Sent php new credentials for port and SMTP ADDRESS

it worked after