mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-01 04:13:28 +01:00
Take all addresses in the mail header when integrating mail to another app, e.g. Calendar.
This commit is contained in:
parent
a6b6b2052e
commit
4a4de6eba6
@ -326,6 +326,11 @@ class mail_integration {
|
||||
}
|
||||
}
|
||||
|
||||
//consider all addresses in the header
|
||||
foreach (['TO','CC','BCC', 'FROM'] as $h)
|
||||
{
|
||||
$mailcontent['mailaddress'] .= ','.$headers[$h];
|
||||
}
|
||||
// Convert addresses to email and personal
|
||||
$addresses = imap_rfc822_parse_adrlist($mailcontent['mailaddress'],'');
|
||||
foreach ($addresses as $address)
|
||||
|
Loading…
Reference in New Issue
Block a user