- handle 'undisclosed-recipients in imap.inc
| | |
| | | - don't return "??" from iil_C_GetQuota() |
| | | - RFC3501 [7.1] don't call CAPABILITY if was returned in server |
| | | optional resposne in iil_Connect(), added iil_C_GetCapability() |
| | | - remove 'undisclosed-recipients' string from 'To' header |
| | | |
| | | ********************************************************/ |
| | | |
| | |
| | | $result[$id]->from = $string; |
| | | break; |
| | | case 'to': |
| | | $result[$id]->to = $string; |
| | | $result[$id]->to = preg_replace('/undisclosed-recipients:[;,]*/', '', $string); |
| | | break; |
| | | case 'subject': |
| | | $result[$id]->subject = $string; |
| | |
| | | else |
| | | continue; |
| | | } |
| | | else if ($hkey == 'to' && preg_match('/^undisclosed-recipients[:;]*$/', $headers['to'])) |
| | | continue; |
| | | else if (in_array($hkey, array('from', 'to', 'cc', 'bcc'))) |
| | | $header_value = Q(rcmail_address_string($headers[$hkey], null, true, $attrib['addicon']), 'show'); |
| | | else |