You can use the MailItem.SenderEmailAddress property to see what email
address sent an email and you can use To for who it was sent to. However, To
usually is just a name like "Ken Slovak" and not an email address. For that
you'd need to get each item's Recipients collection and get each Recipient
object. There may be more than one of course.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"Al_21_11" wrote in message
...
HI
ken
would the same routine work if outlook has several different e-mails
accounts. is there a way i can specify which e-mails account to scan
incoming
e-mails from?
thanks
al