|
| How to find the senders email adress. |  
|
|---|
| MS Outlook hides the sender's email address. | Product: Delphi all versions | Category: OLE | Skill Level:
 | Scoring:  | Last Update: 06/14/2002 | Search Keys: delphi delphi3000 article borland vcl code-snippet sender email address | Times Scored: 12 | Visits: 8212 | Uploader: Marc Georges Company: ExEntryC | Reference: N/A | | | Question/Problem/Abstract:
How can I find the senders email address from an incoming MS Outlook email message. MailItem.SenderName gives the name of the sender but not his email adres | Answer:
Searching the internet (newsgroups en delphi user groups) I noticed this question was asked quit a lot, but I did not find the answer.
Actually I have found it by accident.
The actual email adress of the email sender is somewhat hidden,
but you can find it here
var TheMail := MailItem
TheMail.ReplyRecipients.Item(1).AddressEntry.Address
|
|