D
DaveSam
Using the AdvancedSearch object, I cannot find a way to search for a
string in the recipients email address. I have used
urn:schemas:httpmail:displayto, but this is only the Display name, not
necessarily the email address.
When I try to use urn:schemas:httpmail:to or urn:schemas:mailheader:to,
no matter what I put in the search string, no results are returned.
I have done this both in Outlook 2003 VBA and in VS 2003 c#. Both
result in the exact same behavior.
The scenario is:
Allow the user to input any part of an email address and be able to
find emails that were sent to anyone with that string in their address.
Displayname works if the email address is part of the DisplayName
field, however this is not always the case.
I also tried using Restrict, but without the ability to use wildcards
or Contains, it won't work for them.
Any help greatly appreciated.
Thanks,
Dave
string in the recipients email address. I have used
urn:schemas:httpmail:displayto, but this is only the Display name, not
necessarily the email address.
When I try to use urn:schemas:httpmail:to or urn:schemas:mailheader:to,
no matter what I put in the search string, no results are returned.
I have done this both in Outlook 2003 VBA and in VS 2003 c#. Both
result in the exact same behavior.
The scenario is:
Allow the user to input any part of an email address and be able to
find emails that were sent to anyone with that string in their address.
Displayname works if the email address is part of the DisplayName
field, however this is not always the case.
I also tried using Restrict, but without the ability to use wildcards
or Contains, it won't work for them.
Any help greatly appreciated.
Thanks,
Dave