Upravit

Sdílet prostřednictvím


Application.MailSystem property (Word)

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

Syntax

expression. MailSystem

expression Required. A variable that represents an Application object.

Remarks

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.

Example

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." 
Else 
 MsgBox "This computer has no mail system installed." 
End If

See also

Application Object

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.