Share via


MailMessage.CheckName Method (Word)

Validates the e-mail addresses that appear in the To, Cc, and Bcc lines in the active e-mail message.

Syntax

expression .CheckName

expression Required. A variable that represents a MailMessage object.

Remarks

This method is available only if you are using Word as your e-mail editor. If the names cannot be validated, the Check Names dialog box is displayed.

Example

This example validates the e-mail addresses that appear in the active e-mail message.

Application.MailMessage.CheckName

See Also

Concepts

MailMessage Object

MailMessage Object Members