Class MapiMailMessage
Represents a MAPI mail message.
public class MapiMailMessage
- Inheritance
-
MapiMailMessage
Constructors
- MapiMailMessage()
Initializes a new instance of the MapiMailMessage class.
Properties
- MaxAttachments
Gets or sets the maximum number of attachments allowed.
Methods
- AddAttachment(string)
Adds an attachment to the mail message.
- AddRecipientBCC(string)
Adds a recipient to the "BCC" field of the mail message.
- AddRecipientCC(string)
Adds a recipient to the "CC" field of the mail message.
- AddRecipientTo(string)
Adds a recipient to the "To" field of the mail message.
- GetLastError()
Gets the last error message from the MAPI system.
- SendMailDirect(string, string)
Sends the mail message directly.
- SendMailPopup(string, string)
Sends the mail message as a popup.