'endpoint' is not needed.... in .env or services.
Curl Error 6 Could not resolve host: https Mailgun
Laravel 5.7.19
When trying to send an email via Mailgun using the Mail/Mailable class I get a curl error 6 Could not resolve host: https
This is on a windows environment but i can send request normally on the command line using curl. With no problems which leads me to beleive this is a laravel config problem.
I also have some other normal guzzlehttp functions in my app that are sending requests normally.
If i send to 'endpoint' 'api.mailgun.net/v3/sandboxd**********************d.mailgun.org/messages'
I get no return or error from the command. Mail::failures() returns an empty array. Mailgun shows no new outgoing email.
If i send to 'endpoint' 'https://api.mailgun.net/v3/sandboxd**********************d.mailgun.org/messages'
I get the cannot resolve host : https
If i send to 'endpoint' 'http://api.mailgun.net/v3/sandboxd**********************d.mailgun.org/messages'
I get the cannot resolve host : http
It looks like laravel is not giving the entire url to mail sender.
I have tried setting Mailgun credentials in both the ENV and the services.php.
I have tried using quotes and without quotes in the ENV
What am i missing here?
Please or to participate in this conversation.