Changeset e62346c in github


Ignore:
Timestamp:
Feb 25, 2010 7:43:21 AM (3 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
82c98e6
Parents:
64608bf
Message:
  • Fix encoding of Return-Receipt-To and Disposition-Notification-To headers (1486515)
Location:
program/lib/Mail
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • program/lib/Mail/mime.php

    r90fe6cb re62346c  
    112112 
    113113    /** 
    114      * contains the mime encoded text 
    115      * 
    116      * @var string 
    117      * @access private 
    118      */ 
    119     var $_mime; 
    120  
    121     /** 
    122      * contains the multipart content 
    123      * 
    124      * @var string 
    125      * @access private 
    126      */ 
    127     var $_multipart; 
    128  
    129     /** 
    130114     * list of the attached images 
    131115     * 
     
    10381022     * @param array $xtra_headers Assoc array with any extra headers (optional) 
    10391023     * @param bool  $overwrite    Overwrite already existing headers. 
    1040      * @param bool  $skip_content Don't return content headers: Content-Type 
     1024     * @param bool  $skip_content Don't return content headers: Content-Type, 
    10411025     *                            Content-Disposition and Content-Transfer-Encoding 
    10421026     *  
     
    10841068     * 
    10851069     * @param array $xtra_headers Assoc array with any extra headers (optional) 
    1086      * @param bool  $overwrite    Overwrite the existing heaers with new. 
    1087      * @param bool  $skip_content Don't return content headers: Content-Type 
    1088      *                            and Content-Transfer-Encoding 
     1070     * @param bool  $overwrite    Overwrite the existing headers with new. 
     1071     * @param bool  $skip_content Don't return content headers: Content-Type, 
     1072     *                            Content-Disposition and Content-Transfer-Encoding 
    10891073     * 
    10901074     * @return string             Plain text headers 
     
    12551239            'resent-from', 'resent-to', 'resent-cc', 'resent-bcc', 
    12561240            'resent-sender', 'resent-reply-to', 
     1241            'return-receipt-to', 'disposition-notification-to', 
    12571242        ); 
    12581243        $other_headers = array( 
  • program/lib/Mail/mimePart.php

    r90fe6cb re62346c  
    437437     * @access public 
    438438     */ 
    439     function &addSubPart($body, $params) 
     439    function &addSubpart($body, $params) 
    440440    { 
    441441        $this->_subparts[] = new Mail_mimePart($body, $params); 
Note: See TracChangeset for help on using the changeset viewer.