Object containing data returned by the Horde_Imap_Client_Base#fetch()
command.
Copyright 2011-2012 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you
did not receive this file, see http://www.horde.org/licenses/lgpl21.
	 
	
	Methods summary
	
		
			 public 
			
			
			
		 | 
		
		#
		setFullMsg( mixed $msg )
		
			Set the full message property. 
		 
		
			Set the full message property. 
				Parameters
				
					- $msg
 
					- <p>The full message text, as either a string or stream
                   resource.</p>
 
				  
		 
		  | 
	
	
		
			 public 
			mixed
			
			
		 | 
		
		#
		getFullMsg( boolean $stream = false )
		
			Returns the full message. 
		 
		
			Returns the full message. 
				Parameters
				
					- $stream
 
					- Return as a stream?
 
				  
				Returns
				
					mixed The full text of the entire message.
				 
		 
		  | 
	
	
		
			 public 
			
			
			
		 | 
		
		#
		setStructure( Horde_Mime_Part $structure )
		
			Set the message structure. 
		 
		
			Set the message structure. 
				Parameters
				
					- $structure
 
					- The base MIME part of the message.
 
				  
		 
		  | 
	
	
		
			 public 
			Horde_Mime_Part
			
			
		 | 
		
		#
		getStructure( )
		
			Get the message structure. 
		 
		
			Get the message structure. 
				Returns
				
					Horde_Mime_Part $structure  The base MIME part of the message.
				 
		 
		  | 
	
	
	
	
	
	
	
	
		
			 public 
			
			
			
		 | 
		
		#
		setBodyPart( string $id, mixed $text, string $decode = null )
		
		
			Set a body part entry. 
				Parameters
				
					- $id
 
					- The MIME ID.
 
					- $text
 
					- <p>The body part text, as either a string or stream
                       resource.</p>
 
					- $decode
 
					- Either '8bit', 'binary', or null.
 
				  
		 
		  | 
	
	
		
			 public 
			
			
			
		 | 
		
		#
		setBodyPartSize( string $id, integer $size )
		
			Set the body part size for a body part. 
		 
		
			Set the body part size for a body part. 
				Parameters
				
					- $id
 
					- The MIME ID.
 
					- $size
 
					- The size (in bytes).
 
				  
		 
		  | 
	
	
		
			 public 
			mixed
			
			
		 | 
		
		#
		getBodyPart( string $id, boolean $stream = false )
		
		
			Get a body part entry. 
				Parameters
				
					- $id
 
					- The MIME ID.
 
					- $stream
 
					- Return as a stream?
 
				  
				Returns
				
					mixed The full text of the body part.
				 
		 
		  | 
	
	
		
			 public 
			string
			
			
		 | 
		
		#
		getBodyPartDecode( string $id )
		
			Determines if/how a body part was MIME decoded on the server. 
		 
		
			Determines if/how a body part was MIME decoded on the server. 
				Parameters
				
				Returns
				
					string Either '8bit', 'binary', or null.
				 
		 
		  | 
	
	
		
			 public 
			integer
			
			
		 | 
		
		#
		getBodyPartSize( string $id )
		
			Returns the body part size, if returned by the server. 
		 
		
			Returns the body part size, if returned by the server. 
				Parameters
				
				Returns
				
					integer The body part size, in bytes.
				 
		 
		  | 
	
	
		
			 public 
			
			
			
		 | 
		
		#
		setBodyText( string $id, mixed $text )
		
		
			Set a body text entry. 
				Parameters
				
					- $id
 
					- The MIME ID.
 
					- $text
 
					- <p>The body part text, as either a string or stream
                    resource.</p>
 
				  
		 
		  | 
	
	
		
			 public 
			mixed
			
			
		 | 
		
		#
		getBodyText( string $id = 0, boolean $stream = false )
		
		
			Get a body text entry. 
				Parameters
				
					- $id
 
					- The MIME ID.
 
					- $stream
 
					- Return as a stream?
 
				  
				Returns
				
					mixed The full text of the body text.
				 
		 
		  | 
	
	
		
			 public 
			
			
			
		 | 
		
		#
		setEnvelope( array $data )
		
		
			Set envelope data. 
				Parameters
				
					- $data
 
					- <p>The envelope data to pass to the Envelope object
                    constructor, or an Envelope object.</p>
 
				  
		 
		  | 
	
	
		
			 public 
			Horde_Imap_Client_Data_Envelope
			
			
		 | 
		 | 
	
	
		
			 public 
			
			
			
		 | 
		
		#
		setFlags( array $flags )
		
		
			Set IMAP flags. 
				Parameters
				
					- $flags
 
					- An array of IMAP flags.
 
				  
		 
		  | 
	
	
		
			 public 
			array
			
			
		 | 
		
		#
		getFlags( )
		
		
			Get IMAP flags. 
				Returns
				
					array An array of IMAP flags (all flags in lowercase).
				 
		 
		  | 
	
	
		
			 public 
			
			
			
		 | 
		
		#
		setImapDate( mixed $date )
		
		
			Set IMAP internal date. 
				Parameters
				
					- $date
 
					- <p>Either a Horde_Imap_Client_DateTime object or a
                    date string.</p>
 
				  
		 
		  | 
	
	
		
			 public 
			Horde_Imap_Client_DateTime
			
			
		 | 
		 | 
	
	
		
			 public 
			
			
			
		 | 
		
		#
		setSize( integer $size )
		
		
			Set message size. 
				Parameters
				
					- $size
 
					- The size of the message, in bytes.
 
				  
		 
		  | 
	
	
		
			 public 
			integer
			
			
		 | 
		
		#
		getSize( )
		
		
			Get message size. 
				Returns
				
					integer The size of the message, in bytes.
				 
		 
		  | 
	
	
		
			 public 
			
			
			
		 | 
		 | 
	
	
		
			 public 
			integer
			
			
		 | 
		
		#
		getUid( )
		
		
			Get UID. 
				Returns
				
					integer The message UID.
				 
		 
		  | 
	
	
		
			 public 
			
			
			
		 | 
		
		#
		setSeq( integer $seq )
		
			Set message sequence number. 
		 
		
			Set message sequence number. 
				Parameters
				
					- $seq
 
					- The message sequence number.
 
				  
		 
		  | 
	
	
		
			 public 
			integer
			
			
		 | 
		
		#
		getSeq( )
		
			Get message sequence number. 
		 
		
			Get message sequence number. 
				Returns
				
					integer The message sequence number.
				 
		 
		  | 
	
	
		
			 public 
			
			
			
		 | 
		
		#
		setModSeq( integer $modseq )
		
			Set the modified sequence value for the message. 
		 
		
			Set the modified sequence value for the message. 
				Parameters
				
					- $modseq
 
					- The modseq value.
 
				  
		 
		  | 
	
	
		
			 public 
			integer
			
			
		 | 
		
		#
		getModSeq( )
		
			Get the modified sequence value for the message. 
		 
		
			Get the modified sequence value for the message. 
				Returns
				
					integer The modseq value.
				 
		 
		  | 
	
	
		
			 public 
			array
			
			
		 | 
		
		#
		getRawData( )
		
			Return the internal representation of the data. 
		 
		
			Return the internal representation of the data. 
				Returns
				
					array The data array.
				 
		 
		  | 
	
	
		
			 public 
			
			
			
		 | 
		 | 
	
	
		
			 public 
			boolean
			
			
		 | 
		
		#
		exists( integer $type )
		
			Does this object containing cacheable data of the given type? 
		 
		
			Does this object containing cacheable data of the given type? 
				Parameters
				
				Returns
				
					boolean True if the type is cacheable.
				 
		 
		  | 
	
	
		
			 public 
			boolean
			
			
		 | 
		
		#
		isDefault( )
		
			Does this object contain only default values for all fields? 
		 
		
			Does this object contain only default values for all fields? 
				Returns
				
					boolean True if object contains default data.
				 
				Since
				
						1.2.0
 
				 
		 
		  |