Changeset 3007 in subversion


Ignore:
Timestamp:
Oct 2, 2009 6:58:12 AM (4 years ago)
Author:
alec
Message:
  • added @TODO comment
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/rcube_imap.php

    r2987 r3007  
    12251225      else 
    12261226        $this->struct_charset = $this->_structure_charset($structure); 
     1227 
     1228      /* 
     1229        @TODO: here we can recognize malformed BODYSTRUCTURE and parse 
     1230        the message in other way to create our own message structure. 
     1231        Example of structure for malformed MIME message: 
     1232        ("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 2154 70 NIL NIL NIL) 
     1233 
     1234        if ($headers->ctype != 'text/plain' 
     1235          && !is_array($structure[0]) && $structure[0] == 'text'  
     1236          && !is_array($structure[1]) && $structure[1] == 'plain')  
     1237          { } 
     1238      */ 
    12271239 
    12281240      $struct = &$this->_structure_part($structure); 
Note: See TracChangeset for help on using the changeset viewer.