Ignore:
Timestamp:
May 13, 2011 12:29:19 PM (2 years ago)
Author:
alec
Message:
  • Add forward-as-attachment feature
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/rcube_imap.php

    r4743 r4761  
    25222522 
    25232523    /** 
    2524      * Returns the whole message source as string 
    2525      * 
    2526      * @param int $uid Message UID 
     2524     * Returns the whole message source as string (or saves to a file) 
     2525     * 
     2526     * @param int      $uid Message UID 
     2527     * @param resource $fp  File pointer to save the message 
     2528     * 
    25272529     * @return string Message source string 
    25282530     */ 
    2529     function &get_raw_body($uid) 
    2530     { 
    2531         return $this->conn->handlePartBody($this->mailbox, $uid, true); 
     2531    function &get_raw_body($uid, $fp=null) 
     2532    { 
     2533        return $this->conn->handlePartBody($this->mailbox, $uid, 
     2534            true, null, null, false, $fp); 
    25322535    } 
    25332536 
Note: See TracChangeset for help on using the changeset viewer.