Ignore:
Timestamp:
07/03/12 09:22:12 (12 years ago)
Author:
marcosw
Message:

Ticket #2929 - Alterado condicionais para converter tipo de anexo

File:
1 edited

Legend:

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

    r6673 r6700  
    29152915                     $att = Controller::read(array('id'=> $value , 'concept' => 'mailAttachment')); 
    29162916 
    2917                      if($att['disposition'] == 'embedded') 
     2917                     if($att['disposition'] == 'embedded' && $isHTML) //Caso mensagem em texto simples converter os embedded para attachments 
    29182918                     { 
    29192919                         $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.