Changeset 109314c in github


Ignore:
Timestamp:
Sep 14, 2008 5:19:29 AM (5 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
a81be1b
Parents:
2106ec7
Message:
  • handle 'undisclosed-recipients in imap.inc
Location:
program
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • program/lib/imap.inc

    r76265ef r109314c  
    6565                - RFC3501 [7.1] don't call CAPABILITY if was returned in server  
    6666                  optional resposne in iil_Connect(), added iil_C_GetCapability() 
     67                - remove 'undisclosed-recipients' string from 'To' header 
    6768 
    6869********************************************************/ 
     
    16771678                                                break; 
    16781679                                        case 'to': 
    1679                                                 $result[$id]->to = $string; 
     1680                                                $result[$id]->to = preg_replace('/undisclosed-recipients:[;,]*/', '', $string); 
    16801681                                                break; 
    16811682                                        case 'subject': 
  • program/steps/mail/func.inc

    r2106ec7 r109314c  
    779779        continue; 
    780780      } 
    781     else if ($hkey == 'to' && preg_match('/^undisclosed-recipients[:;]*$/', $headers['to'])) 
    782       continue; 
    783781    else if (in_array($hkey, array('from', 'to', 'cc', 'bcc'))) 
    784782      $header_value = Q(rcmail_address_string($headers[$hkey], null, true, $attrib['addicon']), 'show'); 
Note: See TracChangeset for help on using the changeset viewer.