Board index » delphi » Outlook How to get Sender's email address from SenderName

Outlook How to get Sender's email address from SenderName

When automating outlook from Delphi 5, I can easily view email from the
outlook inbox.
My problem is that I want to get the actual email address from the MailItem,
not the
resolved display name from the address book.

Does anybody know how to find the actual internet email address of the
sender?

Thanks,
Alan Goodman

 

Re:Outlook How to get Sender's email address from SenderName


<<Alan Goodman:
Does anybody know how to find the actual internet email
address of the sender?

Quote

You have to use CDO - there's an example at
http://www.slipstick.com/dev/olforms/bulkreply.htm

Deborah Pate

Re:Outlook How to get Sender's email address from SenderName


?

Quote
Alan wrote:
> When automating outlook from Delphi 5, I can easily view email from the
> outlook inbox.
> My problem is that I want to get the actual email address from the MailItem,
> not the
> resolved display name from the address book.

> Does anybody know how to find the actual internet email address of the
> sender?

> Thanks,
> Alan Goodman

Can you plaese send me an example of how to read mail from Outlook mailbox?
I'm working with delphi 5 and can not find the way to do so.
thank you vry much
Assaf Yshai
ass...@diamondfloor.com
?
?

Re:Outlook How to get Sender's email address from SenderName


I'm sorry if I'm being obtuse Deborah, but exactly how is that bulk e-mail
Outlook form example supposed to help figure out how to use CDO with Delphi
to get the senders actual e-mail address?

I appreciate anyone willing to take the time to answer questions in this
newsgroup, but this answer deserves a question.

This IS a Delphi newsgroup - we hope to find answers to how to do things
using Delphi.
A little more detail is needed here, I think.

Any help is still appreciated though...
TIA,
Dan

PS - Where did you find the Outlook8.pas file you mentioned in some of your
other messages?  I've searched my Office CD and there are (as I expected) no
.PAS files on it at all, much less that one...

Quote
"Deborah Pate" <D...@djpate.freeserve.co.uk> wrote in message

news:85l3jn$7lr1@bornews.borland.com...
Quote
> <<Alan Goodman:
> Does anybody know how to find the actual internet email
> address of the sender?

> You have to use CDO - there's an example at
> http://www.slipstick.com/dev/olforms/bulkreply.htm

> Deborah Pate

Other Threads