You are here

function theme_messaging_phpmailer in Messaging 5

Same name and namespace in other branches
  1. 6.4 messaging_phpmailer/messaging_phpmailer.module \theme_messaging_phpmailer()
  2. 6 messaging_phpmailer/messaging_phpmailer.module \theme_messaging_phpmailer()
  3. 6.2 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 108
HTML Mail using PHPMailer. Messaging method plug-in.

Code

function theme_messaging_phpmailer($subject, $body, $from, $mailkey) {
  return array(
    $subject,
    $body,
  );
}