Document.SendMail Method (2007 System)
Opens a message window for sending the document through Microsoft Exchange.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)
Syntax
'Declaration
Public Sub SendMail
'Usage
Dim instance As Document
instance.SendMail()
public void SendMail()
public:
void SendMail()
public function SendMail()
Remarks
Use the SendMailAttach property to control whether the document is sent as text in the message window or as an attachment.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.