mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 08:38:54 +01:00
add missing second param for imap_rfc822_parse_adrlist
This commit is contained in:
parent
ed29d35d8b
commit
3539f98176
@ -1545,7 +1545,7 @@ class mail_compose
|
|||||||
$this->sessionData['messageFolder'] = $_folder;
|
$this->sessionData['messageFolder'] = $_folder;
|
||||||
$this->sessionData['isDraft'] = true;
|
$this->sessionData['isDraft'] = true;
|
||||||
foreach((array)$headers['CC'] as $val) {
|
foreach((array)$headers['CC'] as $val) {
|
||||||
$rfcAddr=imap_rfc822_parse_adrlist($val);
|
$rfcAddr=imap_rfc822_parse_adrlist($val, '');
|
||||||
$_rfcAddr = $rfcAddr[0];
|
$_rfcAddr = $rfcAddr[0];
|
||||||
if ($_rfcAddr->host=='.SYNTAX-ERROR.') continue;
|
if ($_rfcAddr->host=='.SYNTAX-ERROR.') continue;
|
||||||
if($_rfcAddr->mailbox == 'undisclosed-recipients' || (empty($_rfcAddr->mailbox) && empty($_rfcAddr->host)) ) {
|
if($_rfcAddr->mailbox == 'undisclosed-recipients' || (empty($_rfcAddr->mailbox) && empty($_rfcAddr->host)) ) {
|
||||||
@ -1566,7 +1566,7 @@ class mail_compose
|
|||||||
$this->sessionData['to'][] = $val;
|
$this->sessionData['to'][] = $val;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$rfcAddr=imap_rfc822_parse_adrlist($val);
|
$rfcAddr=imap_rfc822_parse_adrlist($val, '');
|
||||||
$_rfcAddr = $rfcAddr[0];
|
$_rfcAddr = $rfcAddr[0];
|
||||||
if ($_rfcAddr->host=='.SYNTAX-ERROR.') continue;
|
if ($_rfcAddr->host=='.SYNTAX-ERROR.') continue;
|
||||||
if($_rfcAddr->mailbox == 'undisclosed-recipients' || (empty($_rfcAddr->mailbox) && empty($_rfcAddr->host)) ) {
|
if($_rfcAddr->mailbox == 'undisclosed-recipients' || (empty($_rfcAddr->mailbox) && empty($_rfcAddr->host)) ) {
|
||||||
@ -1582,7 +1582,7 @@ class mail_compose
|
|||||||
}
|
}
|
||||||
|
|
||||||
foreach((array)$headers['REPLY_TO'] as $val) {
|
foreach((array)$headers['REPLY_TO'] as $val) {
|
||||||
$rfcAddr=imap_rfc822_parse_adrlist($val);
|
$rfcAddr=imap_rfc822_parse_adrlist($val, '');
|
||||||
$_rfcAddr = $rfcAddr[0];
|
$_rfcAddr = $rfcAddr[0];
|
||||||
if ($_rfcAddr->host=='.SYNTAX-ERROR.') continue;
|
if ($_rfcAddr->host=='.SYNTAX-ERROR.') continue;
|
||||||
if($_rfcAddr->mailbox == 'undisclosed-recipients' || (empty($_rfcAddr->mailbox) && empty($_rfcAddr->host)) ) {
|
if($_rfcAddr->mailbox == 'undisclosed-recipients' || (empty($_rfcAddr->mailbox) && empty($_rfcAddr->host)) ) {
|
||||||
@ -1598,7 +1598,7 @@ class mail_compose
|
|||||||
}
|
}
|
||||||
|
|
||||||
foreach((array)$headers['BCC'] as $val) {
|
foreach((array)$headers['BCC'] as $val) {
|
||||||
$rfcAddr=imap_rfc822_parse_adrlist($val);
|
$rfcAddr=imap_rfc822_parse_adrlist($val, '');
|
||||||
$_rfcAddr = $rfcAddr[0];
|
$_rfcAddr = $rfcAddr[0];
|
||||||
if ($_rfcAddr->host=='.SYNTAX-ERROR.') continue;
|
if ($_rfcAddr->host=='.SYNTAX-ERROR.') continue;
|
||||||
if($_rfcAddr->mailbox == 'undisclosed-recipients' || (empty($_rfcAddr->mailbox) && empty($_rfcAddr->host)) ) {
|
if($_rfcAddr->mailbox == 'undisclosed-recipients' || (empty($_rfcAddr->mailbox) && empty($_rfcAddr->host)) ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user