Changeset 2845 for branches


Ignore:
Timestamp:
05/24/10 17:49:29 (14 years ago)
Author:
niltonneto
Message:

Ticket #1083 - Corrigido problema na mensagem após utilizar desanexar arquivo.

File:
1 edited

Legend:

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

    r2830 r2845  
    330330                                        (strtoupper($head1[0]) == "FROM") ||  
    331331                                        (strtoupper($head1[0]) == "SUBJECT") || 
    332                                         (strtoupper($head1[0]) == "DATE") ) 
    333                                 $header .= $head."\r\n"; 
     332                                        (strtoupper($head1[0]) == "DATE") || 
     333                                        (strtoupper($head1[0]) == "CONTENT-TYPE")) { 
     334                                         
     335                                if(strtoupper($head1[0]) == "CONTENT-TYPE"){ 
     336                                        $head = str_replace("multipart/mixed","text/html",$head);                        
     337                                } 
     338                                $header .= $head."\n"; 
     339                        } 
    334340                } 
    335341                                 
Note: See TracChangeset for help on using the changeset viewer.