take only smtp mail in form not custom mail in laravel 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();