Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: Different Tag for Email Address in Contacts


Message #1 by "Dante Tang" <dante.tang@s...> on Wed, 10 Apr 2002 10:34:59
Hi, I got a problem when retrieving the email address from Contacts...

I have two sets of Windows 2000 IIS Server + Exchange Server 5.5. Let's 
call them Set A and Set B.

I have created two profiles in my Outlook 2000 Client, then login to Set A 
account and Set B account to add a contacts with the following:

First Name    : Testing
Email Address : testing@h...

When I use CDO 1.2.1 to list out all fields and it's Tag in the contacts. 
I found something interesting. (Actually it makes me got a headache...) 
The email address is stored in different fields for Set A and Set B. They 
are shown as below:


Set A
27: testing@h...
27: H80C5001F
28: testing@h...
28: H80D1001F

Set B
27: testing@h...
27: H809B001F
28: testing@h...
28: H80A7001F


What can I do if my program needs to retrieve the email address of a 
contacts? At this moment, there are two tags just in front of me... I 
wonder is there anymore ... (Or will the tag be randomly assigned??)

Is there any universal way to get the email address that do not make use 
of the Tag? I really need to solve this problem. Does anyone know the 
solution? Would you please give me a hand?

Thanks very much in advance.

Dante
Message #2 by "Siegfried Weber" <sweber@c...> on Wed, 10 Apr 2002 21:51:08 +0200
Check http://www.cdolive.com/cdo5.htm,
http://www.cdolive.com/customerinfo.htm,
http://www.cdolive.com/readcontact.htm, http://www.cdolive.com/cdo10.htm
for more information how to use *unsupported* and *undocumented* methods
and information how to accomplish that.

<Siegfried />

> -----Original Message-----
> From: Dante Tang [mailto:dante.tang@s...]
> Sent: Wednesday, April 10, 2002 12:35 PM
> To: ASP CDO
> Subject: [asp_cdo] Different Tag for Email Address in Contacts
>
> Hi, I got a problem when retrieving the email address from Contacts...
>
> I have two sets of Windows 2000 IIS Server + Exchange Server 5.5.
Let's
> call them Set A and Set B.
>
> I have created two profiles in my Outlook 2000 Client, then login to
Set A
> account and Set B account to add a contacts with the following:
>
> First Name    : Testing
> Email Address : testing@h...
>
> When I use CDO 1.2.1 to list out all fields and it's Tag in the
contacts.
> I found something interesting. (Actually it makes me got a
headache...)
> The email address is stored in different fields for Set A and Set B.
They
> are shown as below:
>
>
> Set A
> 27: testing@h...
> 27: H80C5001F
> 28: testing@h...
> 28: H80D1001F
>
> Set B
> 27: testing@h...
> 27: H809B001F
> 28: testing@h...
> 28: H80A7001F
>
>
> What can I do if my program needs to retrieve the email address of a
> contacts? At this moment, there are two tags just in front of me... I
> wonder is there anymore ... (Or will the tag be randomly assigned??)
>
> Is there any universal way to get the email address that do not make
use
> of the Tag? I really need to solve this problem. Does anyone know the
> solution? Would you please give me a hand?
>
> Thanks very much in advance.
>
> Dante

  Return to Index