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 » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

getting the e-mail address from internal Exchange user



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 12th 09, 05:36 PM posted to microsoft.public.outlook.program_addins
Al_21_11[_2_]
external usenet poster
 
Posts: 13
Default getting the e-mail address from internal Exchange user

Hi

I am trying to get the e-mail address from external exchange user by using
SenderEmailAddress. But it is returning the folder directory for the user
account not the e-mail address. Does anyone know of another method?

thanks

Ads
  #2  
Old January 12th 09, 08:45 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default getting the e-mail address from internal Exchange user

What do you mean by folder directory?

SenderEmailAddress should return an SMTP address for senders external to an
Exchange organization and return the EX address for senders internal to an
Exchange organization.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Al_21_11" wrote in message
...
Hi

I am trying to get the e-mail address from external exchange user by using
SenderEmailAddress. But it is returning the folder directory for the user
account not the e-mail address. Does anyone know of another method?

thanks


  #3  
Old January 13th 09, 12:18 AM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default getting the e-mail address from internal Exchange user

I guess you mean the EX type address (as opposed to SMTP).
If you are using Outlook 2007, you can try to use
ExchangeUser.PrimarySmtpAddress property.
Otherwise you can use either Extended MAPI or plugRedemption - use
RDOMail.Sender.SmtpAddress property /plug.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Al_21_11" wrote in message
...
Hi

I am trying to get the e-mail address from external exchange user by using
SenderEmailAddress. But it is returning the folder directory for the user
account not the e-mail address. Does anyone know of another method?

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
Can't get SMTP address of contact that shares email address of an Exchange user Jeff Outlook and VBA 14 January 15th 09 12:50 AM
Exchange 2003: The e-mail account does not exist at the organization" when sending to ONE INTERNAL user KingCronos Outlook - General Queries 3 October 5th 07 12:20 PM
Messages from Exchange internal accounts moved to Junk E-mail folder [email protected] Outlook - General Queries 0 September 25th 07 04:42 AM
Redemption and hiding user in exchange from address lists [email protected] Outlook and VBA 8 August 7th 06 06:53 PM
Check for valid internal e-mail address waxwing Outlook and VBA 2 July 25th 06 05:38 PM


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