system.mail.getSendModeOptions

Triggered in System\Models\MailSetting.

Add or remove mailer send mode options.

The format of the $options variable can be found in System\Models\MailSetting::getSendModeOptions()

Example usage:

Event::listen('system.mail.getSendModeOptions', function(&$options) {
    $options['mydriver'] = 'My Driver';
});