This section provides sample tasks that involve mail items. A mail item represents a mail message in a folder.
Creates a mail item by using the CreateItemFromTemplate method.
Creates a mail item that has an attachment, and then sends the mail item to the user's manager.
Creates an e-mail and sends it from a Microsoft Outlook account, given the Simple Mail Transfer Protocol (SMTP) address of that account.
Uses the VotingOptions property of the MailItem object to add voting options to an e-mail message.
Adds custom actions as a response to an e-mail item by using the Add() method of the Actions collection.
Gets the sender’s Simple Mail Transfer Protocol (SMTP) address for a mail item.
Programmatically sets different recipient types (To, Cc, or Bcc) for a mail item.