SendMail Method

Applies To

Document object.

Description

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

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

Syntax

expression.SendMail

expression Required. An expression that returns a Document object.

See Also

SendMailAttach property.

Example

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

Options.SendMailAttach = True
ActiveDocument.SendMail