MailMessage.CheckName Method
Word Developer Reference |
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.
Visual Basic for Applications |
---|
|
See Also