locked
Read Outlook Attachments RRS feed

  • Question

  • User1773126305 posted

    Hi,

    I try to read outlook attachments and ofcourse i get succeded.But the problem is if any images get embbeded in the message it is also get downloaded as attachment.

    Is there any way to download attachments alone?

     foreach (MailItem item in objMapiFolder.Items)
                                    {
                                        //loop through attachments in the mail item
                                        for (int intCount = 1; intCount <= item.Attachments.Count; intCount++)
                                        {
                                        
                                         }
                                      }
    Please guide me.

    Thanks in advance.

    Mugil 

    Tuesday, October 26, 2010 8:34 AM

Answers