mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-14 18:08:21 +01:00
empty, deprecated SetMessageType, CreateHeader, CreateBody PHPMailer compatibility methods
This commit is contained in:
parent
4b999cc43a
commit
53d487c094
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user