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 brace.
The user credentials and pass are from Mailgun Domains Settings > SMTP Credentials.