Outlook/Redemption MailItem + MailID instead of name

A

Anushya

Hi

Sorry for disturbing again and again.

i need all the from, to, cc in terms of id and not Name. But when i
try to access from/to/CC of mailitem(Both thru Outlook and
Redemption), i get Names instead of ID.

Could get the senderID thru Redemption.SafeMailItem.Sender.Address.
But how to get the id of To and CC(recepients)??

Tried recipients collection, but its not working properly in .NET.
dont know whether the bug is with redemption/NET. Even when i loop
thru it displays the first address every time.

for(int intK=0;intK<rMailItem.Recipients.Count;intK++)
{
MessageBox.Show(rMailItem.Recipients[intK].Type.ToString());
MessageBox.Show(rMailItem.Recipients[intK].Address.ToString());
MessageBox.Show(rMailItem.Recipients[intK].Class.ToString());
}

These are my questions
1) But how to get the id of To and CC(recepients)??
2) Recepients.type - wot does it mean - To/CC/BCC

Thanks
Anushya
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top