Forum Discussion

dsolis2's avatar
Occasional Contributor
15 years ago

Capturing text from the body of email message in Outlook

I have a web application that has functionality to reset a users password if forgotten and send a new password to the users email. Using CDO, TC can send messages. With CDO or any other available Microsoft API's, is there a way to extract text from the body of the Outlook message, search the extracted text for a particular pattern using regular expressions and store results in variable? The idea is to capture the new password and pass it back to the test and log back into the web application with the new password.

3 Replies