View Single Post
  #6  
Old July 6th 09, 03:07 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Get SMTP address of sender in outlook 2003

And it also won't necessarily give you an SMTP address. If CurrentUser is an
Exchange DN that's what you'll get, not an SMTP address.

--
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


"Dmitry Streblechenko" wrote in message
...
That will give you the current user's address, but it has nothing to do
with the sender address of any particular message in your inbox.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Nagaraj" wrote in message
...
Thanks for your information. The problem is solved by the following line

sender = Application.Session.CurrentUser.Address


--
Nagaraj Tadipatri


Ads