| Author | 
         | 
         
      
        
         
         reena_bharti Newbie 
          
 
  Joined: 11 November 2006 Location: United States
 Online Status: Offline Posts: 8
          | 
        
         
          
           | Posted: 21 November 2006 at 3:42pm | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Is there any way to open attachments itself from the server without saving them on local disk. 
 
 In given examples there is a code 
 
 msg.Attachments.SaveAll(@"C:\Temp");
 
 i dont want to use this statement and want to open the attachment directly from server using original path. 
 
 If this is possible then how? 
  
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         Alex AfterLogic Support 
          
  
  Joined: 19 November 2003
 Online Status: Offline Posts: 2207
          | 
        
         
          
           | Posted: 21 November 2006 at 5:13pm | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Sure. You can use various properties and methods of Attachment object for that(msg.Attachments is actually a collection of Attachment objects). For instance, GetData method.
 
 Regards,
 Alex
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   |