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

senderemailaddress



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 7th 07, 11:23 AM posted to microsoft.public.outlook.program_vba
marco
external usenet poster
 
Posts: 17
Default senderemailaddress

In Outlook2003 it is possible to retrieve the email address of the sender of
an email by using the property SenderEmailAddress. I am trying to find a
similar property in Outlook2000. I know there is a property SenderName but
this gives you only the name of the sender of the email.

Is there a property in Outlook2000 which retrieves the email address of the
sender of an email ?

Thanks in advance.

  #2  
Old June 7th 07, 01:20 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default senderemailaddress

In versions before Outlook 2003, there is no Outlook property that returns the sender's email address. You can either use CDO (or Redemption to avoid security prompts -- http://www.dimastr.com/redemption/) to get the From address or use Outlook to get the Reply To address. Sample code at http://www.outlookcode.com/d/code/getsenderaddy.htm

To get the SMTP address from an Exchange sender or recipient in versions before Outlook 2007, use CDO or, to avoid security prompts, Redemption and the PR_EMAIL (&H39FE001E) MAPI property to obtain the SMTP address from the AddressEntry object. See http://www.outlookcode.com/d/code/ge...htm#redemption and http://www.cdolive.com/cdo5.htm#EMailAddressOfSender for examples.
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/article.aspx?id=54

"Marco" wrote in message ...
In Outlook2003 it is possible to retrieve the email address of the sender of
an email by using the property SenderEmailAddress. I am trying to find a
similar property in Outlook2000. I know there is a property SenderName but
this gives you only the name of the sender of the email.

Is there a property in Outlook2000 which retrieves the email address of the
sender of an email ?

Thanks in advance.

 




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
SenderEmailAddress in VB.NET on Outlook 2003 [email protected] Add-ins for Outlook 1 April 10th 07 04:27 PM
How to change read only SenderName and SenderEmailAddress [email protected] Outlook - General Queries 3 April 19th 06 08:22 PM


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