I have to write code in VB6 (my last because we're moving to .NET) that checks for the existence of an .eml file in an Exchange public folder, if it's present it reads the contents of the email and then deletes it. There is no Outlook installed and the machine will be logged off (so it's all running as a service). I've never done this stuff before and a cursory glance on the web indicates that I might put a reference to 'Microsoft CDO for Exchange library 2000' and instantiate as follows:
Dim MyMsg as CDO.Message
.....and related stuff.....my hunch is that this will probably only be about 20 lines of code or so, has been done before yet most of the code I found was getting pretty heavy duty and irrelevant to my cause.
I'm developing at home (broken my hand playing football!) and can't get to work for a month, where there is an MS Exchange server. I can't access the Exchange remotely and don't have Excahnge at home, so I'm kinda writing it blind and would like to get close first time around before sending it in to be tested, as such any simple tutorial code would be much appreciated.....hence 500 points
Ta in advance