


The from property can be changed if the Exchange administrator has assigned sendAs rights of the mailbox to some other users.You can update these properties in the following scenarios: When a message is being composed, in most cases, Outlook sets the from and sender properties to the same signed-in user. For convenience, you can identify the Drafts folder and SentItems folder by their corresponding well-known folder names. To distinguish between a draft and a sent message programmatically, check the isDraft property.īy default, draft messages are saved in the Drafts folder, sent messages are saved in the Sent Items folder. Or, you can create a draft for the response ( reply, reply-all, or forward), add content, and then send the draft at a later time. Similarly, when responding to an email, you can create and send the response in the same action ( reply, reply-all, or forward). In Outlook, you can create and send an email in the same sendMail action, or you can create a draft, subsequently add content and send the draft. You reference the message by its current ID for further processing.

By default, that ID changes when the message is copied or moved to another folder, store, or. When a message is initially created and saved as a draft or sent, the store provider assigns the message an entry ID. Emails are represented by the message resource in Microsoft Graph.īy default, messages are identified by a unique entry ID in the id property.
