CoderSource.net
Search
Re: Search a ContactItem from the Recipients Collection Selected via AddressBook method in Outlook
Started by vipul at 10-25-2005 3:45 AM. Topic has 1 replies.

Print Search « Previous Thread Next Thread »
   10-25-2005, 3:45 AM
vipul is not online. Last active: 10/25/2005 8:36:54 AM vipul

Top 50 Posts
Joined on 10-25-2005
Posts 1
Search a ContactItem from the Recipients Collection Selected via AddressBook method in Outlook

Hi all,

 I am developing an outlook Addin in VC++/ATL/COM, which sends an SMS through outlook exactly the same way an email. Now through AddressBook method i m getting a collection of Recipients. Now i want to access the Entry ID of each recipient such that i can retrieve the contact item from Outlook. I tried to get the ID of selected Recipient but it returns a big string and when i tried to get the Entry ID of Contact Item it is a part of the ID (a big string retrieved from recipient).

 

          please help me to get solution.

Thanks in advance,

Vipul


   Report 
   10-28-2005, 5:57 AM
admin is not online. Last active: 9/20/2008 12:10:49 AM admin

Top 10 Posts
Joined on 06-18-2005
Posts 17
Re: Search a ContactItem from the Recipients Collection Selected via AddressBook method in Outlook

Vipul,

  I don't have experience writing add-ins in VC++. But conceptually, you can use the entry id and that will return u the necessary items in the collection.

  There is a function which loads a string into an entryid variable and then u can use it for further search. Otherwise entry id is of no use. I currently have a problem where I do not have the MAPI environment I used to have.

  But if u have some code snippet, post it. Will try to have a look.

Rgds

Muthu


   Report 
Codersource.Net » Programming » C++ Programming » Re: Search a ContactItem from the Recipients Collection Selected via AddressBook method in Outlook

MENU
Home
MFC 
C++
.Net
WIN32
Programming
Forum
My Articles
Welcome to Codersource.Net Login | Register | Faq  

Google
 

NOTES:


Thanks for visiting our CoderSource.net. This site will be improved with more articles. Interested visitors can also submit their articles through the Submit Article link.Your article will also be published after due consideration by the editor. 

© Copyright 2003. All rights on content reserved by CoderSource.net. Contact    About Us