Mailgun sending

Posted 9 months ago by andylord565

Emails are not sending My Env is Digital ocean. What i have done/checked: -- added config/services mailgun -- changed .env to mailgun -- checked that guzzle is working

No errors occur when doing the following

Route::get('send_test_email', function(){ Mail::raw('Sending emails with Mailgun and Laravel', function($message) { $message->subject('Mailgun and Laravel check'); $message->from('[email protected]', 'Website Name'); $message->to('[email protected]'); }); });

No error logs are stored in var and laravel.log is empty. On Mailguns side it is showing no emails coming through any ideas what could be going wrong ?

Could something be missing on digital oceans side ?

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up


Reply to

Use Markdown with GitHub-flavored code blocks.