Question
1
Replies
339
Views
Posted: May 23, 2017
Last activity: November 6, 2018
Closed
Outlook OpenSpan
Hi,
1. I am trying to "Search" an email with the subject using openspan and tell me the bot can do this.
2. The mail which I have received from "From" that has to be updated in excel sheet. How to do this with the screenshot it would be more useful in future too.
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
I am not sure I really understand what you are asking, however I will try to answer. The Outlook connector has a method called FindEmail that you can use to locate a particular email. It will return the first one that matches the parameters you provide. If there can be multiple matches, you may want to use the RetrieveEmail method instead. It returns a collection of Mail objects. You can iterate this collection by passing the result from this method to a ListLoop. You may extract a proxy from the ListLoop by right-clicking the blue dot on the Item from the ListLoop to expose the Mail object. From here you may check the subject, to, from, etc... and do what you need to with the matching emails.