laravel custom smtp transport code example
Example: send emails with runtime configurations in laravelk
Config::set('mail.driver', 'mandrill');
(new Illuminate\Mail\MailServiceProvider(app()))->register();
Config::set('mail.driver', 'mandrill');
(new Illuminate\Mail\MailServiceProvider(app()))->register();