Ignore:
Timestamp:
10/18/10 13:48:42 (14 years ago)
Author:
rafaelraymundo
Message:

Ticket #1293 - Acerta encaminhamento de msgs com nome de anexo com caracteres especiais.

File:
1 edited

Legend:

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

    r3352 r3369  
    18091809                ## 
    18101810                # @AUTHOR Rodrigo Souza dos Santos 
    1811                 # @DATE 2008/09/17 
     1811                # @DATE 2008/09/17$fileName 
    18121812                # @BRIEF Checks if the user has permission to send an email with the email address used. 
    18131813                ## 
     
    18791879                $forwarding_attachments = $params['forwarding_attachments']; 
    18801880                $local_attachments = $params['local_attachments']; 
    1881                  
     1881 
    18821882                //Test if must be saved in shared folder and change if necessary 
    18831883                if( $fromaddress[2] == 'y' ){ 
     
    20742074                                        $fileName = $file_description[2]; 
    20752075                                        if(!array_search(trim($fileName),$name_cid_files)) { 
    2076                                                 $mail->AddStringAttachment($fileContent, $fileName, $file_description[4], $this->get_file_type($file_description[2])); 
     2076                                                $mail->AddStringAttachment($fileContent,html_entity_decode(rawurldecode($fileName)), $file_description[4], $this->get_file_type($file_description[2])); 
    20772077                                } 
    20782078                        } 
Note: See TracChangeset for help on using the changeset viewer.