Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sender's email id

Status
Not open for further replies.

NewItron

Programmer
Nov 21, 2003
21
IN
Hi,
Can anybody tell me how to get the sender's email id of the recieved email in outlook using VBA ?
Regards
NewItron
 
What do you mean, exactly, by "sender's email ID"?

Their name?
Their return address?
The EntryID or StoreID of the object, in which case, what object?

Assuming that it is a MailItem object, is the email open, or is it sitting in the Inbox?

Gerry
 
Hi Gerry,
Thanx for your reply.Gerry,the mail item is in one of my folders and I need to retrieve the sender's email id to reply them back using VBA.
The problem for me is how to retrieve the sender's email id?
Regards
NewItron
 
Take a look at the Address property of each element of the ReplyRecipients collection of your MailItem object.

Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top