Class MailMessage (Word VBA)
The class MailMessage represents the active email message if you are using Microsoft Word as your email editor.
The main procedure of class MailMessage is Delete
To use a MailMessage class variable it first needs to be instantiated, for example
Dim mme as MailMessage Set mme = Application.MailMessage
MailMessage class variables can be set using the Application.MailMessage procedure.
The following procedures in this class have been grouped together and are described on a separate theme page
This is the main method of the MailMessage class
Delete - Deletes the specified mail message.
Parent returns an object that represents the parent object of the specified MailMessage object.
Dim objParent As Object Set objParent = Application.MailMessage.Parent