mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-09 01:24:07 +01:00
* eSync: only first to address was shown / send to client
This commit is contained in:
parent
18e3fdb83e
commit
95ba184a25
@ -1089,6 +1089,10 @@ class mail_zpush implements activesync_plugin_write, activesync_plugin_sendmail,
|
||||
($headers['priority'] < 3 ? 2 : 1) ;
|
||||
$output->datereceived = $this->mail->_strtotime($headers['date'], 'ts', false); // false = servertime
|
||||
$output->to = $headers['to_address'] ?? null;
|
||||
if (!empty($headers['additional_to_addresses']))
|
||||
{
|
||||
$output->to = array_merge((array)$output->to, $headers['additional_to_addresses']);
|
||||
}
|
||||
if (!empty($headers['to'])) $output->displayto = $headers['to_address']; //$headers['FETCHED_HEADER']['to_name']
|
||||
$output->from = $headers['sender_address'];
|
||||
if (!empty($headers['cc_addresses'])) $output->cc = $headers['cc_addresses'];
|
||||
|
Loading…
Reference in New Issue
Block a user