MailEnvelope Property

Microsoft Access Visual Basic

MailEnvelope Property

       

Returns an MsoEnvelope object that represents an e-mail header for a data access page.

expression.MailEnvelope

expression   Required. An expression that returns one of the objects in the Applies To list.

Example

This example sets the comments for the e-mail header of the specified data access page.

Dim envDAP As MsoEnvelope

Set envDAP = DataAccessPages(0).MailEnvelope

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