I have the same issue while I was updating the production.json file
I cross-checked the same provided JSON with https://jsonlint.com
it is indicating that there Is a problem with -
"mail": {
"transport": "SMTP",
"options": {
"service": "Mailgun",
"host": "smtp.mailgun.org",
"port": 465,
"secure": true,
"auth": {
"user": "postmaster@example.mailgun.org",
"pass": "1234567890"
}
}
},
the error is in the mail:
can some one help us with this i tried all the other formats this was the same result
mjw
Split this topic
November 10, 2022, 11:02pm
2
A post was merged into an existing topic: Config File Not Valid JSON
mjw
November 10, 2022, 11:07pm
3
I’ve moved your post to a new thread since it is easier to track and respond to one issue / OP per thread.
Please see this post for correct configuration (it was posted above your entry), so please take the time to read the support threads and documentation.
The transactional email settings for Mailgun should look like this:
},
"mail": {
"from": "noreply@yourdomain",
"transport": "SMTP",
"options": {
"host": "smtp.mailgun.org",
"port": 587,
"service": "Mailgun",
"secure": false,
"requireTLS": true,
"auth": {
"user": "postmaster@yourdomain",
"pass": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-xxxxxxxx-xxxxxxxx"
}
}
},
Remove "transport": "Direct"}, which incidently has a missing …