Changeset 5461


Ignore:
Timestamp:
02/01/12 16:39:08 (12 years ago)
Author:
cristiano
Message:

Ticket #2476 - Compatibilizado codificação nome de anexo com o outlook

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/services/class.mail.php

    r5316 r5461  
    161161    public function  addStringAttachment($file, $filename, $type, $encoding = 'base64', $disposition = 'attachment') 
    162162    {            
    163                 $this->mail->addAttachment($file, $type, $filename, false, $encoding, $disposition , $charset = '' ,  $language = '' ,  $location = '' ,  $n_encoding = 'base64'); 
     163                $this->mail->addAttachment($file, $type, $filename, false, $encoding, $disposition , $charset = '' ,  $language = '' ,  $location = '' ,  $n_encoding = 'quoted-printable', null , '' , 'ISO-8859-1'); 
    164164    } 
    165165     
    166166    public function  addFileAttachment($file, $filename, $type, $encoding = 'base64', $disposition = 'attachment') 
    167167    {      
    168         $this->mail->addAttachment($file, $type, $filename, true, $encoding, $disposition, $charset = '' ,  $language = '' ,  $location = '' ,  $n_encoding = 'base64'); 
     168        $this->mail->addAttachment($file, $type, $filename, true, $encoding, $disposition, $charset = '' ,  $language = '' ,  $location = '' ,  $n_encoding = 'quoted-printable' , null , '' , 'ISO-8859-1'); 
    169169    } 
    170170     
Note: See TracChangeset for help on using the changeset viewer.