receiver's e-mail adresse

  • Thread starter Thread starter hohu21
  • Start date Start date
H

hohu21

Hi all,

I try to get the receiver's e-mail adresse in a mail but no result !
i got already its name with "item.To".
Please help me
Thanks a lot

Pierre
 
What version of Outlook?

In Outlook 2003 you can use MailItem.SenderEmailAddress.
 
Thanks for your message.
I work with Outlook 2003.
I'm not looking for sender's email address but receiver's email
address.
Please help me

Pierre
 
Loop through the recipients in the MailItem.Recipients collection and check
the Recipient.Address property.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Thanks for your message.
I would like to get the code about "MailItem.Recipients", if someone
can help me.
Thanks

Pierre


Dmitry Streblechenko a écrit :
 
Thanks for your message.
I would like to get the code about "MailItem.Recipients", if someone
can help me.
Thanks

Pierre


Dmitry Streblechenko a écrit :
 
for each Recip in MailItem.Recipients
if Recip.Type = olTo Then
MsgBox Recip.Address
End If
next

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

Thanks for your message.
I would like to get the code about "MailItem.Recipients", if someone
can help me.
Thanks

Pierre


Dmitry Streblechenko a écrit :
 
Thank you very much,
that works well !

Pierre

Dmitry Streblechenko a écrit :
for each Recip in MailItem.Recipients
if Recip.Type = olTo Then
MsgBox Recip.Address
End If
next

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

Thanks for your message.
I would like to get the code about "MailItem.Recipients", if someone
can help me.
Thanks

Pierre


Dmitry Streblechenko a écrit :
Loop through the recipients in the MailItem.Recipients collection and
check
the Recipient.Address property.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

Thanks for your message.
I work with Outlook 2003.
I'm not looking for sender's email address but receiver's email
address.
Please help me

Pierre


Ken Slovak - [MVP - Outlook] wrote:
What version of Outlook?

In Outlook 2003 you can use MailItem.SenderEmailAddress.




Hi all,

I try to get the receiver's e-mail adresse in a mail but no result!
i got already its name with "item.To".
Please help me
Thanks a lot

Pierre
 
Back
Top