List of open/active mailitems

  • Thread starter Thread starter Kim Jakobsen
  • Start date Start date
K

Kim Jakobsen

Hi All

I need to make a reply to a mailitem in the users inbox, and would like to
give the user a list of mails, to select the mail to reply to.

Normally I would go through the inbox, and just make a list of mails there,
but since some users have a lot of mails in the inbox, I would prefer to
just list the mails that the user currently reading (are open).

I looked at the mailitem object, and i does not seem to have a property
that tells me that it is open.

Is it possible to get a list of open items, either by traversing through
the inbox, selecting the open ones, or another way?

regards
Kim
 
Take a look at the Inspectors collection of the Application object.

You would be able to access all open items through something like

Dim index as Integer
For index = 1 to olApp.Inspectors.Count
MsgBox olApp.Inspectors.Item(index).CurrentItem
Next

/lars
 
Back
Top