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

Get all data from E-Mail Addresses tab?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 12th 06, 05:46 PM posted to microsoft.public.outlook.program_vba
Nick B
external usenet poster
 
Posts: 41
Default Get all data from E-Mail Addresses tab?

Is there a way to get all the data from the E-Mail Addresses tab in the
properties of a contact? We have a distribution list with many contacts, we
are manually opening each person in the distribution list and going to the
E-Mail Addresses tab and checking the SMTP address. Many times there are
multiple SMTP addresses in the tab. We need to remove people from the
distribution list based on the SMTP addresses. Is there a way to
programmatically do this? Unless there is another CDO property, it looks like
I can only get the default address.

Thanks!
  #2  
Old April 13th 06, 06:41 AM posted to microsoft.public.outlook.program_vba
Michael Bauer
external usenet poster
 
Posts: 435
Default Get all data from E-Mail Addresses tab?

Am Wed, 12 Apr 2006 08:46:02 -0700 schrieb Nick

Nick, not sure what you are trying to do. You can loop through the DL
members and read each address. That address you can search in the Contacts.
Once you´ve found the contact you can read all its addresses (Email1Address,
Email2Address, Email3Address).

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


Is there a way to get all the data from the E-Mail Addresses tab in the
properties of a contact? We have a distribution list with many contacts,

we
are manually opening each person in the distribution list and going to the
E-Mail Addresses tab and checking the SMTP address. Many times there are
multiple SMTP addresses in the tab. We need to remove people from the
distribution list based on the SMTP addresses. Is there a way to
programmatically do this? Unless there is another CDO property, it looks

like
I can only get the default address.

Thanks!

  #3  
Old April 13th 06, 06:47 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Get all data from E-Mail Addresses tab?

You will need to access the PR_EMS_AB_PROXY_ADDRESSES MAPI property with
Extended MAPI/CDO 1.21/Redemption (Outlook Object model does not provide
access to that property).

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

"Nick B" wrote in message
...
Is there a way to get all the data from the E-Mail Addresses tab in the
properties of a contact? We have a distribution list with many contacts,
we
are manually opening each person in the distribution list and going to the
E-Mail Addresses tab and checking the SMTP address. Many times there are
multiple SMTP addresses in the tab. We need to remove people from the
distribution list based on the SMTP addresses. Is there a way to
programmatically do this? Unless there is another CDO property, it looks
like
I can only get the default address.

Thanks!



  #4  
Old April 17th 06, 08:44 PM posted to microsoft.public.outlook.program_vba
Nick B
external usenet poster
 
Posts: 41
Default Get all data from E-Mail Addresses tab?

Thanks!

Looked up the property and found something that I should have found befo
http://support.microsoft.com/?kbid=196507

"Dmitry Streblechenko" wrote:

You will need to access the PR_EMS_AB_PROXY_ADDRESSES MAPI property with
Extended MAPI/CDO 1.21/Redemption (Outlook Object model does not provide
access to that property).

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

"Nick B" wrote in message
...
Is there a way to get all the data from the E-Mail Addresses tab in the
properties of a contact? We have a distribution list with many contacts,
we
are manually opening each person in the distribution list and going to the
E-Mail Addresses tab and checking the SMTP address. Many times there are
multiple SMTP addresses in the tab. We need to remove people from the
distribution list based on the SMTP addresses. Is there a way to
programmatically do this? Unless there is another CDO property, it looks
like
I can only get the default address.

Thanks!




 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Imported tab delim contacts - email addresses are not recognized Randy Bremgartner Outlook - Using Contacts 3 March 4th 06 03:25 AM
moving e-mail addresses Alan Outlook - Using Contacts 2 February 17th 06 12:25 AM
Merging data between tab pages on custom forms Sue Mosher [MVP-Outlook] Outlook and VBA 0 February 1st 06 05:41 PM
Not getting mail from some addresses, but getting from others Calianna Rekcirts Outlook Express 5 January 25th 06 11:37 AM
How to clear old e-mail addresses? Jan Smith Outlook - General Queries 2 January 24th 06 06:28 PM


All times are GMT +1. The time now is 11:17 AM.


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.