function messaging_mime_mail_messaging in Messaging 5
Same name and namespace in other branches
- 6.4 messaging_mime_mail/messaging_mime_mail.module \messaging_mime_mail_messaging()
- 6 messaging_mime_mail/messaging_mime_mail.module \messaging_mime_mail_messaging()
- 6.2 messaging_mime_mail/messaging_mime_mail.module \messaging_mime_mail_messaging()
- 6.3 messaging_mime_mail/messaging_mime_mail.module \messaging_mime_mail_messaging()
Implementation of hook_messaging
File
- messaging_mime_mail/
messaging_mime_mail.module, line 10 - Mime mail using Drupal API. Messaging method plug-in
Code
function messaging_mime_mail_messaging($op = 'info') {
switch ($op) {
case 'send methods':
$info['mail'] = array(
'name' => t('Mime Mail'),
// Name for display
'group' => 'mail',
// Class of send method
'destination' => 'mail',
// Account property to use as destination
'send' => 'messaging_mime_mail_send_msg',
// Sending callback
'type' => MESSAGING_TYPE_PUSH,
// Method type: push || pull
'glue' => "<br>",
// don't use <br/> nor <br /> for maximum HTML email client compatibility
'footer' => "<br><br>--",
);
return $info;
}
}