Changeset 6719 for branches


Ignore:
Timestamp:
07/05/12 15:34:52 (12 years ago)
Author:
eduardow
Message:

Ticket #2929 - Alterado condicionais para converter tipo de anexo.

Location:
branches/2.4
Files:
2 edited

Legend:

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

    r6682 r6719  
    29162916                     $att = Controller::read(array('id'=> $value , 'concept' => 'mailAttachment')); 
    29172917 
    2918                      if($att['disposition'] == 'embedded') 
     2918                     if($att['disposition'] == 'embedded' && $isHTML) //Caso mensagem em texto simples converter os embedded para attachments 
    29192919                     { 
    29202920                         $body = str_replace('"../prototype/getArchive.php?mailAttachment='.$att['id'].'"', $att['name'], $body); 
  • branches/2.4/prototype/services/ImapServiceAdapter.php

    r6653 r6719  
    630630                                                $att = Controller::read(array('id'=> $value , 'concept' => 'mailAttachment')); 
    631631 
    632                                                 if($att['disposition'] == 'embedded') 
     632                                                if($att['disposition'] == 'embedded' && $isHTML) //Caso mensagem em texto simples converter os embedded para attachments 
    633633                                                { 
    634634                                                        $body = str_replace('"../prototype/getArchive.php?mailAttachment='.$att['id'].'"', '"'.mb_convert_encoding($att['name'], 'ISO-8859-1' , 'UTF-8,ISO-8859-1').'"', $body); 
Note: See TracChangeset for help on using the changeset viewer.