MailSystem Property
Applies To
Application object.
Description
Returns the mail system (or systems) installed on the host machine. Can be one of the following WdMailSystem constants: wdMAPI, wdMAPIandPowerTalk, wdPowerTalk, or wdNoMailSystem. Read-only Long.
Example
This example forwards the active document if PowerTalk is installed on the machine and the document has a mailer.
ms = Application.MailSystem
If ms = wdPowerTalk Or ms = wdMAPIandPowerTalk Then
With ActiveDocument
If .HasMailer Then .ForwardMailer
End With
End If