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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.