remove call to no longer existing method Api\Mailer::AddCustomHeader

This commit is contained in:
Ralf Becker 2016-06-10 12:11:56 +02:00
parent c193325f4c
commit 0f7ca734e3

View File

@ -370,7 +370,7 @@ class mail_zpush implements activesync_plugin_write, activesync_plugin_sendmail,
$mailObject->Sender = $activeMailProfile['ident_email'];
$mailObject->From = $activeMailProfile['ident_email'];
$mailObject->FromName = Mail::generateIdentityString($activeMailProfile,false);
$mailObject->AddCustomHeader('X-Mailer: mail-Activesync');
$mailObject->addHeader('X-Mailer', 'mail-Activesync');
// prepare addressee list; moved the adding of addresses to the mailobject down