| Author | 
         | 
         
      
        
         
         zarborg Newbie 
          
 
  Joined: 04 April 2008 Location: United States
 Online Status: Offline Posts: 1
          | 
        
         
          
           | Posted: 04 April 2008 at 8:57am | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
I'm trying to download attachments from e-mail via imap, when I tried the example that shows filenames from the envelope parts:
 foreach (ImapBodyStructure part in parts)
 it shows 3 parts for a particular mail message but no attachment type and no filenames.  
 
 So I kept reading and the forum refers to attachment.filenme from the mime class.  How do I get an IMAP envelope converted to msg format or am I going down the wrong path. 
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         Andrew AfterLogic Support 
          
 
  Joined: 28 April 2006 Location: United States
 Online Status: Offline Posts: 1189
          | 
        
         
          
           | Posted: 04 April 2008 at 11:20am | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Quote: 
   
    
    
      
       | How do I get an IMAP envelope converted to msg format or am I going down the wrong path. | 
       
       | 
    
    | 
 
 
 
 Try Envelope.MessagePreview property.
 
 Best regards,
 Andrew
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   |