Outlook + redemption

A

Anushya

Hi
I have a problem when i loop thru recipients collection of
Redemption.SafeMailItem in .net. In this code

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());
}

the first recipient is getting displayed all the times. But count is
working correctly. Am i doing a mistake or bug in .NET/Redemption.

Thanks
Anushya
 
D

Dmitry Streblechenko \(MVP\)

1. What is your version of Redemption?
2. Can you try to use rMailItem.Recipients.Item(intK) instead?
3. Do you have an executable you can send to my private address?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
A

Anushya

Hi dmitry

1)its 1.0.1503.18997
2)this works fine.. thanksss dmitry.

thanks
Anushya
Dmitry Streblechenko \(MVP\) said:
1. What is your version of Redemption?
2. Can you try to use rMailItem.Recipients.Item(intK) instead?
3. Do you have an executable you can send to my private address?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool


Anushya said:
Hi
I have a problem when i loop thru recipients collection of
Redemption.SafeMailItem in .net. In this code

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());
}

the first recipient is getting displayed all the times. But count is
working correctly. Am i doing a mistake or bug in .NET/Redemption.

Thanks
Anushya
 
Top