Expand Minimize

Application.MailSystem Property (Word)

Returns the mail system (or systems) installed on the host computer. Read-only WdMailSystem.

expression .MailSystem

expression Required. A variable that represents an Application object.

Some of the WdMailSystem constants are available only in Microsoft Office Macintosh Edition. For additional information about these constants, consult the language reference Help included with Microsoft Office Macintosh Edition.

This example displays a message that indicates whether a mail system is installed on the computer.

ms = Application.MailSystem 
If ms <> wdNoMailSystem Then 
 MsgBox "This computer has a mail system installed." 
 MsgBox "This computer has no mail system installed." 
End If
© 2015 Microsoft