Open romainpoirier opened 9 months ago
Fixed: I've found out that the endpoint
value was missing from my config/app.php
file:
$settings->transportSettings = [
'domain' => App::env('MAILGUN_DOMAIN'),
'apiKey' => App::env('MAILGUN_API_KEY'),
'endpoint' => App::env('MAILGUN_ENDPOINT')
];
Description
I have a paid Mailgun account, with a verified domain. I can successfully send the Test Email from
/admin/settings/email
. However, I can't send from my Controller, while my config is correct.This is the error I get:
Note: of course, I have used my own email address instead of john@doe.com.
And this is the code to send the email:
I also tried this instead:
Steps to reproduce
Additional info