Laravel Mailtrap

Route::get('send_test_email', function(){ Mail::raw('Sending emails with Mailgun and Laravel ', function($message) { $message->subject('Mailgun and Laravel '); $message->from('no-reply@website_name.com', 'Website Name'); $message->to('pardeepkumargt@gmail.com'); }); });
Here is how you can integrate Laravel and Mailgun ( https://www.cloudways.com/blog/send-email-in-laravel/ )

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.