MailMessage Object

Microsoft Word Visual Basic

ApplicationMailMessage

Represents the active email message if you are using Word as your e-mail editor.

Using the MailMessage Object

Use the MailMessage property to return the MailMessage object. The following example validates the e-mail addresses that appear in the active e-mail message.

Application.MailMessage.CheckName
		

Remarks

The methods of the MailMessage object require that you are using Word as your e-mail editor and that an e-mail message is active. If either of these conditions isn't true, an error occurs.