S
sysong
I am trying to search for all emails sent to a specific email address. These
emails may reside in Personal Folders, so I cannot use WebDav. When using the
AdvancedSearch method, I discovered that the following filters do not work:
"urn:schemas:httpmail:to" LIKE '%[email protected]%'"
"urn:schemas:mailheader:to" LIKE '%[email protected]%'"
"urn:schemas:httpmail:displayto" LIKE '%[email protected]%'"
"urn:schemas:httpmail:cc" LIKE '%[email protected]%'"
If I use the Display Name, then I do get results.
"urn:schemas:httpmail:to" LIKE '%John Doe%'"
However, "Display Name" is largely useless.
Strangely, if I were to use WebDav and perform a similiar search on emails
in my Exchange mailbox, I do get results:
"WHERE \"urn:schemas:httpmail:to\" LIKE '%[email protected]%' "
So, is it correct to assume that one cannot search the email "to" field
using an smtp address with the AdvancedSearch method? I find it odd that
- searches using "Display Name" work. I would think that Display Name is
universally useless.
- searches by WebDav do work. I was hoping that if the functionality was
available in one, it would also be available in the other.
emails may reside in Personal Folders, so I cannot use WebDav. When using the
AdvancedSearch method, I discovered that the following filters do not work:
"urn:schemas:httpmail:to" LIKE '%[email protected]%'"
"urn:schemas:mailheader:to" LIKE '%[email protected]%'"
"urn:schemas:httpmail:displayto" LIKE '%[email protected]%'"
"urn:schemas:httpmail:cc" LIKE '%[email protected]%'"
If I use the Display Name, then I do get results.
"urn:schemas:httpmail:to" LIKE '%John Doe%'"
However, "Display Name" is largely useless.
Strangely, if I were to use WebDav and perform a similiar search on emails
in my Exchange mailbox, I do get results:
"WHERE \"urn:schemas:httpmail:to\" LIKE '%[email protected]%' "
So, is it correct to assume that one cannot search the email "to" field
using an smtp address with the AdvancedSearch method? I find it odd that
- searches using "Display Name" work. I would think that Display Name is
universally useless.
- searches by WebDav do work. I was hoping that if the functionality was
available in one, it would also be available in the other.