Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MailModule Object
Collapse the table of content
Expand the table of content

MailModule Object (Outlook)

Represents the Mail navigation module in the Navigation Pane of an explorer.

Version Added: Outlook 2007

The MailModule object, derived from the NavigationModule object, provides read-only access to the navigation groups contained in the Mail navigation module of the Navigation Pane for an explorer. Use the GetNavigationModule method or the Item method of the Modules collection for the parent NavigationPane object to retrieve a NavigationModule object, then use the NavigationModuleType property of the NavigationModule object to retrieve the navigation module type. If the NavigationModuleType property is set to olModuleMail, you can then cast the NavigationModule object reference as a MailModule object to access the NavigationGroups property for that navigation module.

Note Note

Unlike other navigation modules, such as the CalendarModule object, you cannot create or delete navigation groups in the MailModule object.

You can use the Visible property to determine if the navigation module is visible, and the Position property to return or set the display position of the navigation module within the Navigation Pane. You can use the Name property to return the display name of the Mail navigation module within the Navigation Pane.

© 2015 Microsoft