function Messaging_Mail_Method::message_prepare in Messaging 7
Same name and namespace in other branches
- 6.3 classes/messaging_method.class.inc \Messaging_Mail_Method::message_prepare()
Add specific mail parameters to message
File
- messaging_mail/
messaging_mail.inc, line 27 - Drupal Messaging Framework - Send_Method class file
Class
- Messaging_Mail_Method
- Base class for mail sending methods
Code
function message_prepare($message) {
// First, decide on queue, log, cron and send options
parent::message_prepare($message);
// Build specific mail parameters and store them into the message
$params = $this
->message_params($message);
$message->params[$this->method] = $this
->mail_params($message, $params);
}