473,387 Members | 1,556 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Outlook + redemption

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
Nov 15 '05 #1
2 5271
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" <v_*******@hotmail.com> wrote in message
news:80**************************@posting.google.c om...
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

Nov 15 '05 #2
Hi dmitry

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

thanks
Anushya
"Dmitry Streblechenko \(MVP\)" <dm****@dimastr.com> wrote in message news:<Oc**************@TK2MSFTNGP11.phx.gbl>...
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" <v_*******@hotmail.com> wrote in message
news:80**************************@posting.google.c om...
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

Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Anushya | last post by:
Hi All This is the error i am getting when i try to install my addin in some other machine and works fine in development machine. I checked the ..net framework version it is 1.1 in developement...
7
by: Anushya | last post by:
Hi How to get the id of a name in contact items in outlook. How to do it thru redemption in .net?? i tried the code below. but it shows the error. pls have a look at the code ...
4
by: John | last post by:
Hi Does anyone have a vb.net example of how to use redemption to send mail through outlook? Many Thanks Regards
9
by: John | last post by:
Hi Is it possible to write vb.net code around outlook 2000 dlls and then use the code on ol2002 machines to send emails and bypass ol 2002 email block? Thanks Regards
8
by: John | last post by:
Hi I am using the latest redemption. I am using the below code in vb.net to send mail in html format. The problem is that text does not get sent as html and html tags appear as they are in the...
2
by: Pieter | last post by:
Hi, I'm using a thight integration with Outlook 2003 (with an Exchange server) in my VB.NET (2005) application. Until now I'm using the Outlook Object Model, but it appears to be very slow, and...
4
by: omrivm | last post by:
Hi, I have a problem with Outlook Redemption, every time I'm trying to create a new RDOAddressBook: Redemption.RDOAddressBook AB = new RDOAddressBook(); I get: "Retrieving the COM class factory...
6
by: AMP | last post by:
I am trying to write a windows sevice that will send emails. The data is stored in a database and the service scans the database for new entries It work well as a stardard windows app, but when...
2
by: dlesandrini | last post by:
Now that I have my rant about Google Search out of the way, I can ask my question. Someone must have noticed this, but since I can't Google the Access groups about it, I'll have to just ask: ...
6
by: =?Utf-8?B?UmljaA==?= | last post by:
How to suppress the Outlook 2003 security prompts from VB2005. When I tried to look at the body of a message or any other part of an outlook mailItem -- I get these annoying security prompts. I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.