Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5049

Laravel Mail - InvalidArgumentException with message 'No connector for []'

$
0
0

I'm on Laravel 5.1, I configured my mail as described here https://laravel.com/docs/5.1/mail, and every config (config/mail.php, config/services.php) appears when I test from tinker. (eg: config('mail.driver'), etc)

But when I ran this from tinker

use Mail;Mail::raw('Test mail from Tinker', function($msg) {$msg->to('my-mail@gmail.com')->subject('Test Email'); });

I got this one single line exception

InvalidArgumentException with message 'No connector for []'

Any idea what could be the issue ?


Viewing all articles
Browse latest Browse all 5049

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>