Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Get all data from E-Mail Addresses tab? (http://www.outlookbanter.com/outlook-vba/11378-get-all-data-e-mail.html)

Nick B April 12th 06 05:46 PM

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!

Michael Bauer April 13th 06 06:41 AM

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!


Dmitry Streblechenko April 13th 06 06:47 PM

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!




Nick B April 17th 06 08:44 PM

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!






All times are GMT +1. The time now is 08:30 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-2006 OutlookBanter.com