MailMessage Methods

Include Protected Members
Include Inherited Members

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

See Also

Reference

MailMessage Interface

Microsoft.Office.Interop.Word Namespace