Document.SendMail Method

Word Developer Reference

Opens a message window for sending the specified document through Microsoft Exchange.

Syntax

expression.SendMail

expression   Required. A variable that represents a Document object.

Remarks

Use the SendMailAttach property to control whether the document is sent as text in the message window or as an attachment.

Example

This example sends the active document as an attachment to a mail message.

Visual Basic for Applications
  Options.SendMailAttach = True
ActiveDocument.SendMail

See Also