![]() |
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. |
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. |
All times are GMT +1. The time now is 08:02 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