MailModule object (Outlook)

Represents the Mail navigation module in the navigation pane of an explorer.

Remarks

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

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

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. Use the Name property to return the display name of the Mail navigation module within the navigation pane.

Properties

Name
Application
Class
Name
NavigationGroups
NavigationModuleType
Parent
Position
Session
Visible

See also

Outlook Object Model Reference

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.