Mike,
Thanks for that. A picture is slowly starting to emerge although I am not sure if I am quite where I want to be yet.
Perhaps I should clarify what I am doing. I wrote an app that sends batches of emails to selections in my VFP tables using Automation and Outlook 2000 or above. It worked a treat until the Microsoft Security patch came in then it became a pain to send large batches and I recommended to customers to install Outlook 2000 Sr1 or below on at least 1 workstation on their networks to avoid the problem with large maillists. Now I have come to review the problem several months later and find that there is not one but several solutions and it is not really clear which is best for me.
I am happy working with Outlook for now and I like the confidence of seeing something go into Outbox and then go into Sent items, it gives a confidence that something has gone. I don't see much point in reinventing the wheel in terms of writing code to ensure that something goes, however, I will be extending my app in the medium term to keep logs of what email has been sent to which particular contacts by creating corresponence table entries in my app each time an email is sent be it a single email or large batch.
I latched onto CDO as it seemed to instantly override the security patch for 5 minutes of code but has the flaw that I am not sure whether everything went or not.
I have browsed the redemption details and whilst it looks like it will do the job, it does a lot more than I need and on I am a little reluctant to pay $199 to simply do the same as I was doing before Microsoft introduced the security patch although I am keeping it in reserve should I not come across an easier / cheaper solution.
I am also looking at the
solution from Gerrit which is freeware and sounds like it should work, however, it sounds more like what I want in the medium terms where I am not dependant on Outlook but have to finish the correspondence tracking part of my app to replace Outlooks sent items folder and add extra functionality. Something I want to do, but just a couple of months further down the line!
As ever I want to keep everything simple, I am not one to use a sledgehammer to crack a nut and the ideal world at this stage would have been if Microsoft had allowed authorised applications past the security system in Automation, they don't seem to as far as I can see, however the 'allow for 10 minutes' option I saw today when running your Exchange server MAPI code seemed like a breath of fresh air.
Apologies about the 3 posts on CDO, they were all different questions initial which I expected to be very simple answers as as ever in this kind of environment the shorter question usually gets the quicker answer! Little did I know it was going to get so involved. I will try not to let things overlap.