allowing users to send email with their own smtp settings 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();