MailEnvelope Property

Microsoft Word Visual Basic

object that represents an e-mail header for a document.

expression.MailEnvelope

expression    Required. An expression that returns a Document object.

Example

This example sets the comments for the e-mail header of the active document.

Sub HeaderComments()

    ActiveDocument.MailEnvelope.Introduction = _
        "Please review this document and let me know " & _
        "what you think.  I need your input by Friday." & _
        "  Thanks."

End Sub