
August 11th 06, 12:34 AM
posted to microsoft.public.outlook.program_vba
|
|
receiver's e-mail adresse
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
wrote in message
oups.com...
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
wrote in message
oups.com...
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.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
wrote in message
ups.com...
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
|