how do I Extract attached photos from a outlook email file through .net code

Posted on 2011-10-15
Last Modified: 2012-05-12
My users are receving photos through email and then they need to save it into the HDD then open our software to attach it with the relevent palce or they are saving the email file it self which is not usefull and can open only in outlook. is I need solution if user give the outlook file. our code should extract automatically from the outlook file the jpg files only.
Question by:mahmood66
    LVL 47

    Accepted Solution

    DO you need to use your own code?
    Or could you just use a 3rd party app thats already available?

    Otherwise you could look at for some help in writing the code to save attachments

    Here is an example

    If its not what your looking for there are several other similar posts
    Just search for Save Attachments
    or Attachment save

    Author Comment

    I need to check it in my code. please give me few days. thanks anyway

    Author Comment

    still checking

    Author Closing Comment

    good information provided

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
    Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now