| Author | 
         | 
         
      
        
         
         deepa176 Newbie 
          
 
  Joined: 11 February 2008
 Online Status: Offline Posts: 1
          | 
        
         
          
           | Posted: 11 February 2008 at 1:40am | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Hi,
 I would like to know if its possible to use
 objIMAP4.RetrieveMessages as we do in
 
 objPOP3.RetrieveMessages. If not what is the possible way to retrieve all messages
 
 Thanks in advance
 
  
 
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         Andrew AfterLogic Support 
          
 
  Joined: 28 April 2006 Location: United States
 Online Status: Offline Posts: 1189
          | 
        
         
          
           | Posted: 11 February 2008 at 4:37am | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Use IMAP4.RetrieveEnvelopesEx method. AlsoGetMessagePreview/BodyPreviewSize parameters allow you to retrieve ether entire message or just a message part.
 
 Best regards,
 Andrew
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   |