A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Is it possible to get the Recipeint who the e-mail is To?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 12th 06, 09:53 PM posted to microsoft.public.outlook.program_vba
Sanjay Singh
external usenet poster
 
Posts: 31
Default Is it possible to get the Recipeint who the e-mail is To?

I hope someone can help me with this.

I want to know who the actual recipient of an e-mail is i.e. I want to know
who the e-mail address of the first person in the To field.
The recipients collection is not necessarily ordered correctly.

Is there any way to get this information (with or without Redemption)

Thanks in advance.

Sanjay


Ads
  #2  
Old February 13th 06, 06:16 AM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Is it possible to get the Recipeint who the e-mail is To?

Parse the To property (separating at the ";" chars) and match each element
with the Recipient.Name property in the Recipients collection.

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

"Sanjay Singh" wrote in message
...
I hope someone can help me with this.

I want to know who the actual recipient of an e-mail is i.e. I want to
know who the e-mail address of the first person in the To field.
The recipients collection is not necessarily ordered correctly.

Is there any way to get this information (with or without Redemption)

Thanks in advance.

Sanjay



  #3  
Old February 13th 06, 06:24 AM posted to microsoft.public.outlook.program_vba
Michael Bauer
external usenet poster
 
Posts: 435
Default Is it possible to get the Recipeint who the e-mail is To?

Am Mon, 13 Feb 2006 09:53:24 +1200 schrieb Sanjay Singh:

Sanyay, why donīt you read the To property itself?

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.vbOffice.net --


I hope someone can help me with this.

I want to know who the actual recipient of an e-mail is i.e. I want to

know
who the e-mail address of the first person in the To field.
The recipients collection is not necessarily ordered correctly.

Is there any way to get this information (with or without Redemption)

Thanks in advance.

Sanjay

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:07 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright Đ2004-2025 Outlook Banter.
The comments are property of their posters.