WordPres isn’t Working With Email Sender With reverse proxy and https in Docker
You need to either run a container with a smtp server and map that to your wordpress container or you need to map the HOST server smtp to your wordpress container
You can do that by running
docker run --extra_host "mail:<hostprivateip>" ... wordpress
Or you should use docker-compose
for the same
version: '3'
services:
app:
image: wordpress
...
mail:
image: <somesmtpimage>