I have an app that runs continuously and sends out pager notifications when an unusual event occurs. I originally coded it to use Outlook. After some time, I began getting the popups. I then tried using MAPI, but had a similar result (the message was different - something about app accessing my address book). I wound up using the SMTP protocol to get around the popups.
I'm attaching the little test app that I wrote to work out the details. There are some comments at the end of lines where you will have to fill in your own information.