MailMessage Members

Include Protected Members
Include Inherited Members

Represents the active email message if you are using Microsoft Word as your e-mail editor.

The MailMessage type exposes the following members.

Methods

  Name Description
Public method CheckName Validates the e-mail addresses that appear in the To:, Cc:, and Bcc: lines in the active e-mail message. This method is available only if you are using Microsoft Word as your e-mail editor.
Public method Delete Deletes the specified object.
Public method DisplayMoveDialog Displays the Move dialog box, in which the user can specify a new location for the active e-mail message in an available message store. This method is available only if you are using Microsoft Word as your e-mail editor.
Public method DisplayProperties Displays the Properties dialog box for the active e-mail message. This method is available only if you are using Microsoft Word as your e-mail editor.
Public method DisplaySelectNamesDialog Displays the Select Names dialog box, in which the user can add addresses to the To:, Cc:, and Bcc: lines in the active, unsent e-mail message. This method is available only if you are using Microsoft Word as your e-mail editor.
Public method Forward Opens a new e-mail message with an empty To: line for forwarding the active message. This method is available only if you are using Microsoft Word as your e-mail editor.
Public method GoToNext Displays the next mail message if you are using Microsoft Word as your e-mail editor.
Public method GoToPrevious Displays the previous mail message if you are using Microsoft Word as your e-mail editor.
Public method Reply Opens a new e-mail message— with the sender's address on the To: line— for replying to the active message.
Public method ReplyAll Opens a new e-mail message— with the sender’s and all other recipients' addresses on the To: and Cc: lines, as appropriate— for replying to the active message.
Public method ToggleHeader Toggles the display of the header in the active e-mail message.

Top

Properties

  Name Description
Public property Application Returns a Application object that represents the Microsoft Word application.
Public property Creator Returns a 32-bit integer that indicates the application in which the specified object was created.
Public property Parent Returns an object that represents the parent object of the specified object.

Top

See Also

Reference

MailMessage Interface

Microsoft.Office.Interop.Word Namespace