diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-09-14 09:19:29 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-09-14 09:19:29 +0000 |
| commit | 6210a5e5faa5416c0240192a81acd22e35b980be (patch) | |
| tree | 688bbb824acc7bdb43547c61e8174edc651c541a /roundcubemail/program/lib | |
| parent | 16771227bf5fe9f6cf857b2f95c81bc90d9c4265 (diff) | |
- handle 'undisclosed-recipients in imap.inc
git-svn-id: https://svn.roundcube.net/trunk@1791 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/lib')
| -rw-r--r-- | roundcubemail/program/lib/imap.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/roundcubemail/program/lib/imap.inc b/roundcubemail/program/lib/imap.inc index a2564de87..eb30d42c5 100644 --- a/roundcubemail/program/lib/imap.inc +++ b/roundcubemail/program/lib/imap.inc @@ -64,6 +64,7 @@ - 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 ********************************************************/ @@ -1676,7 +1677,7 @@ function iil_C_FetchHeaders(&$conn, $mailbox, $message_set, $uidfetch=false) $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; |
