Ignore:
Timestamp:
08/08/11 10:09:08 (13 years ago)
Author:
airton
Message:

Ticket #1820 - Sincronizar o branch 2.2.0.1 para 2.2.0.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/inc/class.imap_functions.inc.php

    r4888 r4908  
    11991199            switch (strtolower($structure->ctype_primary)) 
    12001200                { 
    1201                         if((preg_match("/pkcs7-mime/i", $msg->structure[$msg_number]->subtype) == 1) && (count($return['signature']) == 0 ) ){ 
     1201                        case 'text':  
     1202                                        if(strtolower($structure->ctype_secondary) == 'x-pkcs7-mime')  
     1203                                        { 
    12021204                                $return['body']='isCripted'; 
    12031205                                return $return; 
     
    12081210                        $disposition = strtolower($structure->disposition); 
    12091211 
    1210                         if (preg_match("/pkcs7-mime/i", $msg->structure[$msg_number]->subtype) == 1) 
     1212                        if(($msg_subtype == "html" || $msg_subtype == 'plain') && ($disposition != 'attachment')) 
    12111213                        { 
    12121214 
Note: See TracChangeset for help on using the changeset viewer.