I've a third party application that sends to distribution lists using Outlook. I presume that this is done using extended MAPI. As Outlook can hang if a large number of messages are generated, I want to create a service that reads the messages stored in the Outbox of the MessageStore, send the emails through an SMTP gateway and delete the sent message from the Outbox. All this should be done without the need to run Outlook - Outlook will still be installed though.
I would like to know how what I have just described can be done using Delphi without using any 3rd party commercial components. I've been researching for many days but can't find any sample code or examples. There is plenty of code for simple MAPI though. Appreciate any pointers. :)