We are automating test cases, and one particular test case involves making the application send an email, and verifying that the email has been received.
I’d like to (somehow) connect to the exchange server (2003) using a given user account and pull the inbox messages, and make sure the message i am expecting was received.
There are limitations to this scenario:
-
These tests will often be performed in a lab environment, with no outside connectivity to the internet. This means the server (exchange) has to reside in our envinronment (cannot use Gmail for example).
-
EWS and newer APIs cannot be used since they are supported from Exchange 2007 and up.
-
Tried a few mentioned techniques on the net with no success (WebDAV for example).
Is there a reliable source for getting this requirement done? what technique would you recommend?
Redemption is one option; it uses MAPI directly. Outlook is not required.
That being said, WebDAV is a valid option here. You’ll need do execute two steps:
I have a library which does all this stuff. If you ping me through my website (http://www.infinitec.de), I can send it to you.