function mimemail_get_engines in Mime Mail 6
Same name and namespace in other branches
- 5 mimemail.module \mimemail_get_engines()
- 7 mimemail.module \mimemail_get_engines()
Retreives a list of all available mailer engines.
Return value
An array of mailer engine names.
1 call to mimemail_get_engines()
- mimemail_admin_settings in includes/
mimemail.admin.inc - Module configuration form.
File
- ./
mimemail.module, line 316 - Component module for sending MIME-encoded e-mails.
Code
function mimemail_get_engines() {
$engines = array();
foreach (module_implements('mailengine') as $module) {
$function = $module . '_mailengine';
if (function_exists($function)) {
$engines[$module] = $function('name') . ' - ' . $function('description');
}
}
return $engines;
}