Reputation: 10448
I want to read attachments and embedded images of an .msg file by loading it using Microsoft.Office.Interop.Outlook 2003 in C#. Basically I want to read the email and then forward these images as an email as you normally forward an email in Outlook you get all the images that email have. I have found article of reading attachment using Office 2007 and onwards but i have Outlook 2003. So i want to know how can i do it in Outlook 2003 using Interop?
Upvotes: 2
Views: 1304
Reputation: 31
You can refer to this Microsoft link: http://msdn.microsoft.com/en-us/library/aa289167(v=vs.71).aspx
After you have reference from your desired message, you can extract the image. you can either create a message and attach the image using Outlook interop or use System.Net.Mail.MailMessage to send and email with attachment.
Hope this helps.
Upvotes: 0