| Author | 
         | 
         
      
        
         
         John Muller Newbie 
          
 
  Joined: 18 October 2009
 Online Status: Offline Posts: 5
          | 
        
         
          
           | Posted: 18 October 2009 at 7:30am | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Hi,
 
 I am just evaluating your components. Coming 
 from Indy I had some decoding problems which I 
 don't see here. :) Looks very good!
 A question: How can I detect if a html-message 
 has inline-images or not? Have I to parse the 
 body manually to find CID:?
 
 Or is there a simpler way I missed?
 
 Thanks. John
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         Igor AfterLogic Support 
          
 
  Joined: 24 June 2008 Location: United States
 Online Status: Offline Posts: 6168
          | 
        
         
          
           | Posted: 18 October 2009 at 11:54am | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Yes, there's a simpler way indeed, you'll just need to download a message and iterate through its Attachments collection checking IsInline property of each attachment:
 
Code: 
   
    
    
      
       For Each objAttach In objMsg.Attachments
   If objAttach.IsInline Then
     ... | 
       
       | 
    
    | 
 
 
 
 --
 Regards,
 Igor, AfterLogic Support
 
 
 
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         John Muller Newbie 
          
 
  Joined: 18 October 2009
 Online Status: Offline Posts: 5
          | 
        
         
          
           | Posted: 19 October 2009 at 12:53am | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Great. Thank you.
 
 Regards John
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   |