You are here

static function Messaging_Mail_Method::default_params in Messaging 7

Get default method parameters, not depending on message

1 call to Messaging_Mail_Method::default_params()
Messaging_Mail_Method::message_params in messaging_mail/messaging_mail.inc
Get message parameters for this method.

File

messaging_mail/messaging_mail.inc, line 79
Drupal Messaging Framework - Send_Method class file

Class

Messaging_Mail_Method
Base class for mail sending methods

Code

static function default_params() {
  $default_mail = variable_get('site_mail', ini_get('sendmail_from'));
  return array(
    'default_from' => variable_get('messaging_mail_default_from', $default_mail),
    'returnpath' => variable_get('messaging_mail_returnpath', $default_mail),
    'send_bcc' => variable_get('messaging_mail_send_bcc', FALSE),
  );
}