I'm developing a small program that need to send email.
I'm using an SMTP class with wwipstuff and it work great.
I also need to use MAPI for particular reason. The solution need to work with Windows 98/NT/2000/XP with Outlook Express / MS Outlook / and other MAPI compliant client.
For MAPI, I use class from NBC software (Mapimail & OutlookMail).
It work, but sometime, my application freeze when sending an email, and Outlook too. The last email that I sent seems to be stuck in the Outbox. I have to kill everything and even reboot my PC sometime.
If Outlook is open, my application never freeze, but if Outlook is close and I try to send an email, the first one go out but when I send a second one, it freeze.
What could be my problem?
Do I need to initialize something, or release a variable pointing to Outlook object? What could I be missing?
Any idea?
Eric.