You are here

function mimemail_get_engines in Mime Mail 7

Same name and namespace in other branches
  1. 5 mimemail.module \mimemail_get_engines()
  2. 6 mimemail.module \mimemail_get_engines()

Retreives a list of all available mailer engines.

Return value

array Mailer engine names.

1 call to mimemail_get_engines()
mimemail_admin_settings in includes/mimemail.admin.inc
Configuration form.

File

./mimemail.module, line 213
Component module for sending Mime-encoded emails.

Code

function mimemail_get_engines() {
  $engines = array();
  foreach (module_implements('mailengine') as $module) {
    $engines[$module] = module_invoke($module, 'mailengine', 'list');
  }
  return $engines;
}