Clicking a button, without having the windowhandle open
Posted: Thu Jun 26, 2008 4:38 pm
Hi, for all you guys out there being an real Administrator. You've might have came across Pop3 Connectors in Exchange.
There is this option which lets you set how offen it should check for new e-mails there, and the min limit is set to 15 mins, which is awfully long.
Now, here is the deal. There is also a button in that specific window
which lets you download the e-mails.
Using PostMessage, this is simple stuff. Allthough, its painful to be forced have to have that window open ALWAYS, since you poke around with other stuff in the Server Administration interface.
So what we have left is two options.
Debug the process, and find the call that sends that "Check for new email" function. It should be a call so, meaning we should be able to trigger it.
The second method would be to find a dll which holds that function in export.
If i would have to use the first solution, how would i trigger the call in exchange from my own application?
Even so, normally a call holds arguments, and most likly the "check for email" button does not send any arguments. Could someone please spawn forth a solution with me to success with this?
Thanks
Cal
There is this option which lets you set how offen it should check for new e-mails there, and the min limit is set to 15 mins, which is awfully long.
Now, here is the deal. There is also a button in that specific window
which lets you download the e-mails.
Using PostMessage, this is simple stuff. Allthough, its painful to be forced have to have that window open ALWAYS, since you poke around with other stuff in the Server Administration interface.
So what we have left is two options.
Debug the process, and find the call that sends that "Check for new email" function. It should be a call so, meaning we should be able to trigger it.
The second method would be to find a dll which holds that function in export.
If i would have to use the first solution, how would i trigger the call in exchange from my own application?
Even so, normally a call holds arguments, and most likly the "check for email" button does not send any arguments. Could someone please spawn forth a solution with me to success with this?
Thanks
Cal