I have a question regarding sending email from a VB program. I read up on the MAPI, and was able to add the controls to my project and send a message. Here are the problems. It appears to be sending the mail through outlook (which is OK with me), but it pops up a message saying that my program is attempting to send a message automatically and asks if it is OK. While I understand the need for this dialog box (security), my app needs to be able to email when certain events occur, so I can't have that message pop up.

The second issue is that when I issue the send command, the message is not actually sent, but in fact placed in the outbox of Outlook. It is not actually sent until after I start Outlook. At that time it is processed as it receives my mail that I check with outlook. Since there won't be a person sitting at this machine this is not a viable option.

Any suggestions are greatly appreciated.

Kevin