Application.MailSystem (Word)

Returns the mail system (or systems) installed on the host computer. Possible return values are wdMAPI - Standard Messaging Application Programming Interface (MAPI) mail system, wdMAPIandPowerTalk - Both a standard Messaging Application Programming Interface (MAPI) mail system and a PowerTalk mail system, wdNoMailSystem - No mail system, wdPowerTalk - PowerTalk mail system.

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.


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