You are here

function messaging_htmlmail_messaging in Messaging 7

Implementation of hook_messaging()

Currently the only operation supported is 'send methods' that will retrieve and array with information fo the sending methods provided by this module.

Parameters

$op: Type of information to retrieve.

Return value

mixed Depending on $op

File

messaging_htmlmail/messaging_htmlmail.module, line 20
HTML Mail using Mime-Mail. Messaging method plug-in

Code

function messaging_htmlmail_messaging($op, $type = NULL) {
  switch ($op) {
    case 'send methods':
      $info['htmlmail'] = array(
        'title' => t('HTML mail'),
        'class' => 'Messaging_HTML_Mail_Method',
        'name' => t('HTML mail'),
        'description' => t('Get messages as HTML e-mail.'),
      );
      return $info;
  }
}