system.mail.applyConfigValues

Triggered in System\Models\MailSetting.

Applies configuration values from mail settings

Example usage:

Event::listen('system.mail.applyConfigValues', function($settings) {
    if ($settings->send_mode === 'mydriver') {
        Config::set('services.mydriver.secret', $settings->mydriver_secret);
    }
});