mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
#18625559 : add reference field to mail header
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7181 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ac6a68607b
commit
b9b9ebc00a
1 changed files with 8 additions and 1 deletions
|
|
@ -22,6 +22,7 @@
|
|||
var $body = '';
|
||||
var $header = '';
|
||||
var $eol = '';
|
||||
var $references = '';
|
||||
|
||||
|
||||
function Mail() { }
|
||||
|
|
@ -73,6 +74,10 @@
|
|||
$this->messageId = $messageId;
|
||||
}
|
||||
|
||||
function setReferences($references) {
|
||||
$this->references = $references;
|
||||
}
|
||||
|
||||
function setReplyTo($replyTo)
|
||||
{
|
||||
$this->replyTo = $replyTo;
|
||||
|
|
@ -207,11 +212,13 @@
|
|||
"%s".
|
||||
"%s".
|
||||
"%s".
|
||||
"%s".
|
||||
"MIME-Version: 1.0".$this->eol."",
|
||||
$this->getSender(),
|
||||
$this->messageId?("Message-ID: <".$this->messageId.">".$this->eol):"",
|
||||
$this->replyTo?("Reply-To: <".$this->replyTo.">".$this->eol):"",
|
||||
$this->bcc?("Bcc: ".$this->bcc.$this->eol):""
|
||||
$this->bcc?("Bcc: ".$this->bcc.$this->eol):"",
|
||||
$this->references?("References: <".$this->references.">".$this->eol."In-Reply-To: <".$this->references.">".$this->eol):""
|
||||
);
|
||||
$headers .= $this->header;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue