c# find mail by from mail
Posted
by Sebastian
on Stack Overflow
See other posts from Stack Overflow
or by Sebastian
Published on 2010-05-11T11:01:19Z
Indexed on
2010/05/11
11:04 UTC
Read the original article
Hit count: 441
Hi! How to find items in Outlook inbox by from email?
This version works and finds email:
String sCriteria = "[From] = 'Sebastian Nowak'";
Outlook.Items filteredItems = inbox.Items.Restrict(sCriteria);
This version doesn't work, doesn't find any mail:
String sCriteria = "[From] = '[email protected]'";
Outlook.Items filteredItems = inbox.Items.Restrict(sCriteria);
How do I should search by email from wich mail was sent.
© Stack Overflow or respective owner