To retrieve all Outlook emails with the word "UiPath" in the subject, which filtering property and filter schema should a developer use?

To retrieve all Outlook emails with the word "UiPath" in the subject, which filtering property and filter schema should a developer use?
A . Property: FilterByMessageIds
Schema: "@SQL=""urn:schemas:httpmail:subject’"’ like ‘UiPath%’"
B . Property: Filter
Schema: "@SQL=""urn:schemas:httpmail:subject"" like ‘UiPath%’"
C . Property: Filter
Schema: "@SQL=""urn:schemas:httpmail:subject"" like ‘%UiPath%’"

D . Property: FilterByMessageIds
Schema: "@SQL=""urn:schemas:httpmail:subject"" like ‘%UiPath%’"

Answer: C

Explanation:

o retrieve all Outlook emails with the word “UiPath” in the subject, the developer should use the Filter property and the filter schema “@SQL=”“urn:schemas:httpmail:subject”" like ‘%UiPath%’“. The Filter property allows the developer to specify a condition for retrieving the emails based on the email properties. The filter schema is a string that follows the SQL syntax and uses the urn:schemas:httpmail namespace to access the email properties. The subject property is accessed by using “urn:schemas:httpmail:subject”. The like operator is used to match the value of the subject property with a pattern that contains the word “UiPath”. The percent sign (%) is a wildcard that matches any sequence of characters. Therefore, the filter schema “@SQL=”“urn:schemas:httpmail:subject”” like ‘%UiPath%’" will match any email that has the word “UiPath” anywhere in the subject.

Reference: Get Outlook Mail Messages

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments