Y
Yuhua Li via OfficeKB.com
Hi,
According to the NewMailEx description, this event:
Occurs when one or more new items are received in the Inbox. This event
passes a list of entry IDs of all the items received in the Inbox since the
last time the event was fired. The entry IDs are comma-delimited. The
maximum number of entry IDs in the string are limited only by the available
memory on the computer.
Right now, even if i receive 2 New Emails, the string i receive only
contains one entry ID. Can someone shed light on this issue?
Excerpt from my code:
Private Sub m_olOutlook_NewMailEx(ByVal EntryIDCollection As String)
Handles m_olOutlook.NewMailEx
....
intInitial = 1
intLength = Len(EntryIDCollection)
MsgBox("Collection is :" + EntryIDCollection)
intFinal = InStr(intInitial, EntryIDCollection, ",")
....
According to the NewMailEx description, this event:
Occurs when one or more new items are received in the Inbox. This event
passes a list of entry IDs of all the items received in the Inbox since the
last time the event was fired. The entry IDs are comma-delimited. The
maximum number of entry IDs in the string are limited only by the available
memory on the computer.
Right now, even if i receive 2 New Emails, the string i receive only
contains one entry ID. Can someone shed light on this issue?
Excerpt from my code:
Private Sub m_olOutlook_NewMailEx(ByVal EntryIDCollection As String)
Handles m_olOutlook.NewMailEx
....
intInitial = 1
intLength = Len(EntryIDCollection)
MsgBox("Collection is :" + EntryIDCollection)
intFinal = InStr(intInitial, EntryIDCollection, ",")
....