Σημείωμα
Η πρόσβαση σε αυτήν τη σελίδα απαιτεί εξουσιοδότηση. Μπορείτε να δοκιμάσετε να εισέλθετε ή να αλλάξετε καταλόγους.
Η πρόσβαση σε αυτήν τη σελίδα απαιτεί εξουσιοδότηση. Μπορείτε να δοκιμάσετε να αλλάξετε καταλόγους.
This section provides sample tasks that involve mail items. A mail item represents a mail message in a folder.
In this section
| Topic | Description |
|---|---|
| Create a mail item by using a message template | Creates a mail item by using the CreateItemFromTemplate method. |
| Create a mail item, attach a report, and send the mail item to the user's manager | Creates a mail item that has an attachment, and then sends the mail item to the user's manager. |
| Send an email given the SMTP address of an account | Creates an email and sends it from a Microsoft Outlook account, given the Simple Mail Transfer Protocol (SMTP) address of that account. |
| Add voting options to a mail item | Uses the VotingOptions property of the MailItem object to add voting options to an email message. |
| Add a custom action as a response to a mail item | Adds custom actions as a response to an email item by using the Add() method of the Actions collection. |
| Get the SMTP address of the sender of a mail item | Gets the sender’s Simple Mail Transfer Protocol (SMTP) address for a mail item. |
| Specify different recipient types for a mail item | Programmatically sets different recipient types (To, Cc, or Bcc) for a mail item. |