I am programming against the Outlook com object in VB.NET 2005. When I apply the .Send method to the item, the following dialog box pops up and nothing will happen until the user replies. The only problem is I want this to be an automated process running on a disconnected account, so I cannot process message boxes. Anyone know of a way to supress this message through code? I know that programming the Word and Excel obect models have a DisplayAlerts property that can be set to False, but it does not appear that such a property exists in the Outlook object model.
Title: Microsoft Office Outlook
A program is trying to automatically send an e-mail on your behalf.
Do you want to allow this?
If this is unexpected, it may be a virus and you shoudl choose "No".