MailMessage object (Word)

Represents the active email message if you are using Microsoft Word as your email editor.

Remarks

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

Application.MailMessage.CheckName

The methods of the MailMessage object require that you are using Word as your email editor and that an email message is active. If either of these conditions is not true, an error occurs.

See also

Word Object Model Reference

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.