Changeset 2774


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

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

File:
1 edited

Legend:

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

    r2767 r2774  
    854854 
    855855                                $file_type = strtolower($msg->file_type[$msg_number][$values]); 
    856                                 if($file_type == "message/rfc822") 
     856                                if($file_type == "message/rfc822" || $file_type == "multipart/alternative") 
    857857                                { 
    858                                         // Show only 'text/html' part, when message/rfc822 format contains 'text/plain' alternative part. 
     858                                        // Show only 'text/html' part, when message/rfc822 or multipart/alternative format contains 'text/plain' alternative part. 
    859859                                        if(array_key_exists($values+1, $msg->file_type[$msg_number]) && 
    860860                                                strtolower($msg->file_type[$msg_number][$values+1]) == 'text/plain' && 
     
    864864                                        } 
    865865                                } 
    866  
    867                                 if($file_type == "multipart/alternative") 
    868                                         $has_multipart = false; 
    869866 
    870867                                if(($file_type == "text/plain" 
Note: See TracChangeset for help on using the changeset viewer.