public function setEnvelope($data)
    {
        $this->_data[Horde_Imap_Client::FETCH_ENVELOPE] = is_array($data)
            ? new Horde_Imap_Client_Data_Envelope($data)
            : $data;
    }
public function setEnvelope($data)
    {
        $this->_data[Horde_Imap_Client::FETCH_ENVELOPE] = is_array($data)
            ? new Horde_Imap_Client_Data_Envelope($data)
            : $data;
    }
public function setEnvelope ( $ data ) { $ this -> _data [ Horde_Imap_Client :: FETCH_ENVELOPE ] = is_array ( $ data ) ? new Horde_Imap_Client_Data_Envelope ( $ data ) : $ data ; }
Set envelope data.

@param array $data  The envelope data to pass to the Envelope object
constructor, or an Envelope object.
Set envelope data .