Minor fix in SMTP script
Use docker compose exec in conjunction with curl. By executing curl within the Docker container, SSL certificate validation is correctly performed. Previously the curl command was executed in the host and the request was hardcoded to use localhost as the hostname. While this process works correctly in the development environment, it fails to match any common or subject alternative name included in the certificate on the production instance.