Ignore:
Timestamp:
05/08/13 10:43:47 (11 years ago)
Author:
marcieli
Message:

Ticket #3446 - Tratamento para parser de e-mail externo de convite de evento do gmail.

File:
1 edited

Legend:

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

    r8098 r8145  
    960960 
    961961                                   $content .= $this->decodeMailPart($part->body,$part->ctype_parameters['charset']); 
     962                                   $i = -1; 
    962963                                } 
    963964 
     
    968969 
    969970                                   $content .= '<pre>'. htmlentities($this->decodeMailPart($part->body,$part->ctype_parameters['charset'],false)).'</pre>'; 
     971                                   $i = -1; 
    970972                                } 
    971                                 if(strtolower($part->ctype_secondary) == 'calendar') 
    972                                     $content.= $this->builderMsgCalendar($this->decodeMailPart($part->body, $part->ctype_parameters['charset'])); 
    973  
     973                               // Comentado para tratamento de e-mail multipart alternative com html e ical. Parseava o ical e ignorava o html. 
     974                               //if(strtolower($part->ctype_secondary) == 'calendar') 
     975                               //     $content.= $this->builderMsgCalendar($this->decodeMailPart($part->body, $part->ctype_parameters['charset'])); 
    974976                           } 
    975977 
    976                             $i = -1; 
    977978                            break; 
    978979 
     
    14661467                }   
    14671468                $return['alarm'] = $alarm; 
    1468                  
     1469 
    14691470                return $return; 
    14701471        } 
Note: See TracChangeset for help on using the changeset viewer.