Note, if you can do this without writing an addin , through the api, that is all the better.
You will be writing an addin for outlook. This addin will not be a "visible" addin on the menus or have visible functionality.
I need a com addin that will do the following:
I need it to save the currently selected message in the inbox (note: the highlighted message) as a .msg (unicode format) including attachments , to a specified directory.
Here is how the addin will be called:
I will be calling the addin from an external program, so you com object will need to be able to receive a message about "saving the currently selected message" to a specified folder, under either the file name of the subject in the inbox.
Note, I need to be able to hook your com object and tell it to save the message to the specified directory under the default name or a specified name.