Get FROM address - VB. 
Author Message
 Get FROM address - VB.

COuld someone show my how to get the FROM address from an email in the
inbox?

No problem getting anything else... but I can't figure out sender email
address :|



Wed, 18 May 2005 05:01:48 GMT  
 Get FROM address - VB.
Long time known issue with Outlook Object Model.  You need to use CDO 1.21
to get this.

Tom

--
Looking for a good book on ADSI, Outlook and Exchange Server development?
If so, check out:
http://www.amazon.com/exec/obidos/ASIN/0735610193/
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. ? 2002 Microsoft Corporation. All rights
reserved.


Quote:
> COuld someone show my how to get the FROM address from an email in the
> inbox?

> No problem getting anything else... but I can't figure out sender email
> address :|



Wed, 18 May 2005 13:47:04 GMT  
 Get FROM address - VB.
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.slipstick.com/dev/code/getsenderaddy.htm.

--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
     Microsoft Outlook Programming: Jumpstart
     for Administrators, Power Users, and Developers
     http://www.slipstick.com/books/jumpstart.htm

Quote:

> COuld someone show my how to get the FROM address from an email in the
> inbox?

> No problem getting anything else... but I can't figure out sender email
> address :|



Fri, 20 May 2005 04:20:57 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Getting at exchange address book members from VB.

2. getting address from the address book

3. Getting addresses out of Lotus Notes Address Book

4. Getting the ip address based on the MAC Address

5. Getting a machine's MAC address given a NETBIOS machine name or IP address

6. getting access to outlook 200 address book using vb.net

7. VB 3.0 - Getting the address of a variable??

8. Getting the address of VB variables

9. getting the url address in vb

10. Getting sender email address in Outlook vb OLE

11. Getting MAC Address using VB and no NetBIOS

12. Getting the Customer Name and address

 

 
Powered by phpBB® Forum Software