mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
* eSync/Mail: make sure From is set correctly to the identity used, when sending by iOS
This commit is contained in:
parent
45c272dac2
commit
e3132b7775
@ -400,8 +400,7 @@ class mail_zpush implements activesync_plugin_write, activesync_plugin_sendmail,
|
|||||||
$this->mail->parseRawMessageIntoMailObject($mailObject,$smartdata->mime);
|
$this->mail->parseRawMessageIntoMailObject($mailObject,$smartdata->mime);
|
||||||
// Horde SMTP Class uses utf-8 by default. as we set charset always to utf-8
|
// Horde SMTP Class uses utf-8 by default. as we set charset always to utf-8
|
||||||
$mailObject->Sender = $activeMailProfile['ident_email'];
|
$mailObject->Sender = $activeMailProfile['ident_email'];
|
||||||
$mailObject->From = $activeMailProfile['ident_email'];
|
$mailObject->setFrom($activeMailProfile['ident_email'],Mail::generateIdentityString($activeMailProfile,false));
|
||||||
$mailObject->FromName = Mail::generateIdentityString($activeMailProfile,false);
|
|
||||||
$mailObject->addHeader('X-Mailer', 'mail-Activesync');
|
$mailObject->addHeader('X-Mailer', 'mail-Activesync');
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user