Changeset 2775 for branches


Ignore:
Timestamp:
05/13/10 14:33:24 (14 years ago)
Author:
niltonneto
Message:

Ticket #1068 - Corrigido problema na visualização de mensagem 'multipart/alternative'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/expressoMail1_2/inc/class.imap_functions.inc.php

    r2768 r2775  
    757757                        { 
    758758                                $file_type = strtolower($msg->file_type[$msg_number][$values]);  
    759                                 if($file_type == "message/rfc822") 
     759                                if($file_type == "message/rfc822" || $file_type == "multipart/alternative") 
    760760                                { 
    761                                         // Show only 'text/html' part, when message/rfc822 format contains 'text/plain' alternative part. 
     761                                        // Show only 'text/html' part, when message/rfc822 or multipart/alternative format contains 'text/plain' alternative part. 
    762762                                        if(array_key_exists($values+1, $msg->file_type[$msg_number]) && 
    763763                                                strtolower($msg->file_type[$msg_number][$values+1]) == 'text/plain' && 
     
    767767                                        } 
    768768                                } 
    769                                  
    770                                 if($file_type == "multipart/alternative") 
    771                                         $has_multipart = false; 
    772                                  
     769                                                                 
    773770                                if(($file_type == "text/plain"  
    774771                                        || $file_type == "text/html") 
Note: See TracChangeset for help on using the changeset viewer.