How to find items in an Outlook mailbox by email?
This version works and finds email:
String sCriteria = "[From] = 'Sebastian Nowak'";
Outlook.Items filteredItems = inbox.Items.Restrict(sCriteria);
This version does not work, does not find mail:
String sCriteria = "[From] = 'mymail@mydomain.com'";
Outlook.Items filteredItems = inbox.Items.Restrict(sCriteria);
How do I search by email from the fact that an email has been sent.
source
share