M
mookashi
In the following code im able to find a contact by his fullname but no
by any other criteria like Mobile no. Is there anyway i can get th
name and email of a contact from the contacts folder based on hi
mobile telephone no???
Contact Folder collection
Set conFol = objNS.GetDefaultFolder(olFolderContacts)
Recipients Collection
Set oRecips = objMailItem.Recipients
Recipient Object
Set oRecip = oRecips.Item(1)
Contact Item
Set conItem = conFol.Items.Find("[FullName]=" & oRecip.Name)
If conItem Is Nothing Then
Set conItem =
conFol.Items.Find("[MobileTelephoneNumber]="& oRecip.Name)))
End I
by any other criteria like Mobile no. Is there anyway i can get th
name and email of a contact from the contacts folder based on hi
mobile telephone no???
Contact Folder collection
Set conFol = objNS.GetDefaultFolder(olFolderContacts)
Recipients Collection
Set oRecips = objMailItem.Recipients
Recipient Object
Set oRecip = oRecips.Item(1)
Contact Item
Set conItem = conFol.Items.Find("[FullName]=" & oRecip.Name)
If conItem Is Nothing Then
Set conItem =
conFol.Items.Find("[MobileTelephoneNumber]="& oRecip.Name)))
End I