Make it possible to add return path for mails (#95)

This commit is contained in:
Lars Hippler
2020-03-27 16:20:59 +01:00
committed by GitHub
parent b6772917ae
commit 503afb9831

View File

@@ -304,6 +304,10 @@ class EMail
$oHeaders = $this->m_oMessage->getHeaders();
switch(strtolower($sKey))
{
case 'return-path':
$this->m_oMessage->setReturnPath($sValue)
break;
default:
$oHeaders->addTextHeader($sKey, $sValue);
}