|
|
Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
I have a program that does an automated login to Outlook, does some parsing of emails and closes.
There have been some issues with my Exchange server lately, such that it will throw the username/password prompt when logging in. This seems to be hanging my program because it is waiting for some type of user input that the program is not designed to deliver. It occurs at:
objFolder.Logon("username", "password", false,true);
Questions:
1) Is there a way to set a Timeout on the .Logon method? 2) Is there a way to detect the popup dialog box and close it.
At the point that the username/password dialog appears, I know there is a problem with Outlook and the correct procedure would be to wait and try again later.
Any suggestions appreciated.
-- Texeme Construct
|
|
|