R
Roger
I currently have an application that can monitor the Inbox of one mailbox
running on a client using Outlook 2003. This is a standalone application
that needs Outlook to be running in order to see all mail coming into the
e-mail box.
This is using Interop.Outlook
Example of code...
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
AddHandler m_Olapp.NewMail, AddressOf Me.eventhandlerNewMail
End Sub
Public Sub eventhandlerNewMail()
' Here is the event that gets called
end sub.
Now this will monitor just my mailbox. I also have access to 10+ other
email boxes that show up on my Outlook. How can I get an event fired for
each mailbox inbox? Is it possible? Can I tell which mailbox got the
event?
Thanks,
Rog
running on a client using Outlook 2003. This is a standalone application
that needs Outlook to be running in order to see all mail coming into the
e-mail box.
This is using Interop.Outlook
Example of code...
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
AddHandler m_Olapp.NewMail, AddressOf Me.eventhandlerNewMail
End Sub
Public Sub eventhandlerNewMail()
' Here is the event that gets called
end sub.
Now this will monitor just my mailbox. I also have access to 10+ other
email boxes that show up on my Outlook. How can I get an event fired for
each mailbox inbox? Is it possible? Can I tell which mailbox got the
event?
Thanks,
Rog