When I set the mail__from variable of the .env file using the official docker-compose guide; nothing happens. The default from address is noreply@mydomain.com and I want to change it to norespuesta@mydomain.com (same thing but in spanish).
The rest of the variables do work as I was able to set up my SMTP provider.
I also tried editing the config.production.json to no avail.
These are the .env variables I am using:
mail__transport=SMTP
mail__from="'My Blog' <norespuesta@jose-garcia.net>"
mail__options__host=provider.com
mail__options__port=465
mail__options__secure=true mail__options__auth__user=user
mail__options__auth__pass=pass
And this is the config.production.json
{
"url": "http://localhost:2368",
"server": {
"port": 2368,
"host": "::"
},
"mail": {
"transport": "SMTP",
"from": "norespuesta@jose-garcia.net",
"options": {
"host": "in-v3.mailjet.com",
"port": 465,
"secure": true,
"auth": {
"user": "user",
"pass": "pass"
}
}
},
"logging": {
"transports": [
"file",
"stdout"
]
},
"process": "systemd",
"security": {
"staffDeviceVerification": true
},
"paths": {
"contentPath": "/var/lib/ghost/content"
}
}