Mailgun sending

Published 6 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 ?


I would suspect that your .env file does not contain the correct values. I would double check those values.

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