You are here

function theme_messaging_phpmailer in Messaging 6.2

Same name and namespace in other branches
  1. 5 messaging_phpmailer/messaging_phpmailer.module \theme_messaging_phpmailer()
  2. 6.4 messaging_phpmailer/messaging_phpmailer.module \theme_messaging_phpmailer()
  3. 6 messaging_phpmailer/messaging_phpmailer.module \theme_messaging_phpmailer()
  4. 6.3 messaging_phpmailer/messaging_phpmailer.module \theme_messaging_phpmailer()

Default theme messaging_phpmailer

1 theme call to theme_messaging_phpmailer()
messaging_phpmailer_drupal_mail in messaging_phpmailer/messaging_phpmailer.module
Send a message via PHPMailer. This function mimics drupal_mail. We do not use drupal_mail instead because we want to be able to send mail with both PHPMailer and MIMEMail.

File

messaging_phpmailer/messaging_phpmailer.module, line 273
HTML Mail using PHPMailer. Messaging method plug-in.

Code

function theme_messaging_phpmailer($mail) {
  return array(
    $mail['subject'],
    $mail['body'],
  );
}