Bug fix: use the proper way to set the message-ID with Swift

SVN:trunk[1754]
This commit is contained in:
Denis Flaven
2012-01-04 10:45:58 +00:00
parent 79509e5510
commit 8f8f575c65

View File

@@ -147,7 +147,9 @@ class EMail
// Note: Swift will add the angle brackets for you
// so let's remove the angle brackets if present, for historical reasons
$sId = str_replace(array('<', '>'), '', $sId);
$this->m_oMessage->SetId($sId);
$oMsgId = $this->m_oMessage->getHeaders()->get('Message-ID');
$oMsgId->SetId($sId);
}
public function SetReferences($sReferences)