diff --git a/mail/inc/class.mail_zpush.inc.php b/mail/inc/class.mail_zpush.inc.php index 616f8a1435..c49dcb6322 100644 --- a/mail/inc/class.mail_zpush.inc.php +++ b/mail/inc/class.mail_zpush.inc.php @@ -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