Class Email (Word VBA)

The class Email represents an email message.

Set

To use a Email class variable it first needs to be instantiated, for example

Dim eml as Email
Set eml = ActiveDocument.Email

Email class variables can be set using the Document.Email procedure.

CurrentEmailAuthor

Returns an EmailAuthor object that represents the author of the current email message.

MsgBox ActiveDocument.Email _ 
 .CurrentEmailAuthor.Style.NameLocal

Parent

Returns an object that represents the parent object of the specified Email object.

Dim objParent As Object
Set objParent = ActiveDocument.Email.Parent