Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   receiver's e-mail adresse (http://www.outlookbanter.com/outlook-vba/23068-receivers-e-mail-adresse.html)

[email protected] August 7th 06 01:37 PM

receiver's e-mail adresse
 
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


Ken Slovak - [MVP - Outlook] August 7th 06 02:18 PM

receiver's e-mail adresse
 
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



[email protected] August 7th 06 02:39 PM

receiver's e-mail adresse
 
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



Dmitry Streblechenko August 7th 06 07:58 PM

receiver's e-mail adresse
 
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





[email protected] August 10th 06 07:22 PM

receiver's e-mail adresse
 
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




[email protected] August 10th 06 07:24 PM

receiver's e-mail adresse
 
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




Dmitry Streblechenko August 10th 06 07:40 PM

receiver's e-mail adresse
 
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





[email protected] August 10th 06 11:34 PM

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





All times are GMT +1. The time now is 10:52 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com