Ignore:
Timestamp:
09/12/08 17:02:14 (16 years ago)
Author:
niltonneto
Message:

http://www.expressolivre.org/dev/ticket/326

Incluir o campo CCo na cópia da mensagem enviada.

File:
1 edited

Legend:

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

    r399 r426  
    541541                        }                
    542542                        $mbox_stream = imap_open("{".$imap_server.":".$imap_port.$imap_options."}".$this->SaveMessageInFolder, $username, $password); 
     543 
     544                        ## 
     545                        # @AUTHOR Rodrigo Souza dos Santos 
     546                        # @DATE 2008/09/11 
     547                        # @BRIEF Adding arbitrarily the BCC field. You may need to 
     548                        #        check if this field already exists in the header. 
     549                        ## 
     550                        if ( count($this->bcc) > 0 ) 
     551                        { 
     552                                $target = stripos($header, 'subject'); 
     553                                $header = substr($header, 0, $target) . $this->AddrAppend("Bcc", $this->bcc) . substr($header, $target); 
     554                        } 
    543555                 
    544556                        $new_header = str_replace("\n", "\r\n", $header); 
Note: See TracChangeset for help on using the changeset viewer.