You are here

static function Messaging_Method_Mail::default_params in Messaging 6.4

Get default method parameters

1 call to Messaging_Method_Mail::default_params()
Messaging_Method_Mail::message_prepare in messaging_mail/messaging_method_mail.class.inc
Message default callback: prepare

File

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

Class

Messaging_Method_Mail
Base class for mail sending methods

Code

static function default_params($message = NULL) {
  $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),
  );
}