I have troubles setting up mailgun. It doesnt work for SMTP (neither with SSL/465 nor with TLS/587).

Since beta 9 there is the option to chose the mailgun driver. This should solve all issues, no? Unfortunately, this doesn't work either.

My question is: Does Flarum consider the eu api endpoint for mailgun somehow?
I get the following Flarum error:

[2019-07-30 17:52:49] production.ERROR: GuzzleHttp\Exception\ClientException: Client error: `POST https://api.mailgun.net/v3/mg.fcbronkow.de/messages.mime` resulted in a `404 NOT FOUND` response:
{
  "message": "Domain not found: mg.fcbronkow.de"
}
 in /var/www/vhosts/hosting112231.a2f51.netcup.net/httpdocs/flarum/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113
Stack trace:
#0 /var/www/vhosts/hosting112231.a2f51.netcup.net/httpdocs/flarum/vendor/guzzlehttp/guzzle/src/Middleware.php(66): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response))
#1 /var/www/vhosts/hosting112231.a2f51.netcup.net/httpdocs/flarum/vendor/guzzlehttp/promises/src/Promise.php(203): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Response))

I think it should start with https://api.eu.mailgun.net/...

    I think our API driver for Mailgun is missing an option for EU vs US. I don't from which version of the Laravel mailing library this is an option.

    In the meantime SMTP should work. Make sure you use the EU SMTP server of Mailgun (smtp.eu.mailgun.org).

    Some hosts require you to contact the support first before they allow outbound SMTP requests.

    UPDATE: opened an issue for it flarum/core1834