Hi Alok,
If you have the email address of a person you can do this by:
std::string email_address = "test@test.com";
IDataSourcePtr datasource;
IPersonPtr person(__uuidof(Person));
person->get_DataSource(&datasource);
// open the person identified by the given email
ret = datasource->Open(
_bstr_t(("mailto:"+email_address).c_str()),
0, adModeRead, adFailIfNotExists, adOpenSource, "", "");
BSTR basefolder;
IMailboxPtr mailbox = person->GetInterface(_T("IMailBox"));
mailbox->get_BaseFolder(&basefolder);
Check out IMailBox interface for attributes that gives you other folder
URL
Cheers,
Oscar
> Hello friends!
>
[quoted text clipped - 7 lines]
>
> Plz Help..