empty, deprecated SetMessageType, CreateHeader, CreateBody PHPMailer compatibility methods

This commit is contained in:
Ralf Becker 2014-11-25 09:27:42 +00:00
parent 4b999cc43a
commit 53d487c094

View File

@ -412,6 +412,7 @@ class egw_mailer extends Horde_Mime_Mail
{ {
return $str; return $str;
} }
protected $is_html = false; protected $is_html = false;
/** /**
* Defines that setting $this->Body should set Body or AltBody * Defines that setting $this->Body should set Body or AltBody
@ -423,6 +424,38 @@ class egw_mailer extends Horde_Mime_Mail
$this->is_html = (bool)$html; $this->is_html = (bool)$html;
} }
/**
* Sets the message type
*
* @deprecated no longer necessary to call, happens automatic when calling send or getRaw($stream=true)
*/
public function SetMessageType()
{
}
/**
* Assembles message header
*
* @deprecated use getMessageHeader() or better getRaw($stream=true)
* @return string The assembled header
*/
public function CreateHeader()
{
return $this->getMessageHeader();
}
/**
* Assembles message body
*
* @deprecated use getMessageBody() or better getRaw($stream=true)
* @return string The assembled header
*/
public function CreateBody()
{
return $this->getMessageBody();
}
protected $from = ''; protected $from = '';
/** /**
* Magic method to intercept assignments to old PHPMailer variables * Magic method to intercept assignments to old PHPMailer variables