Drop Outlook email message into VB and split it up
Posted on 2004-12-01
I need to be able to drag and drop an email message from Outlook 2000, XP, 2003 onto a VB form (Which will eventually be an ActiveX OCX)
Once dropped I need to following items split out.
3. Body (Plain text)
4. Attachment(s) files so I can save them to hard drive
* Bonus, but not required: Entire message saveable as a .msg file
If you want to create a sample, have it display the From, Subject and body in three text boxes on the screen and save all the attachments into c:\attachment.
-This can be in VB6 or VB.net
-Please have some basic remarks in code pointing out what's happening
-This project will end up as an ocx add-in for another application. Users will drop email messages to this form on the screen and by having the parts of the email split out, I will be able to store the appropriate parts into a separate database.
I have seen some other examples on this website, but have not been sucessful at using any of the examples listed.
Thank you in advance for you assistance.