Document.MailEnvelope property (Publisher)

Returns an MsoEnvelope object that represents an email header for a publication.

Syntax

expression.MailEnvelope

expression A variable that represents a Document object.

Return value

MsoEnvelope

Remarks

The MailEnvelope property is only accessible if the EnvelopeVisible property has been set to True.

Example

This example sets the comments for the email header of the active publication. This example assumes that the EnvelopeVisible property has been set to True.

Sub HeaderComments() 
 ActiveDocument.MailEnvelope.Introduction = _ 
 "Please review this publication and let me know " & _ 
 "what you think. I need your input by Friday." & _ 
 " Thanks." 
End Sub

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.