EmailStore Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The functionality described in this topic is not available to all UWP apps. As part of the store app submission process, Microsoft must approve your use of these APIs and provision your developer account before you can publish an app that uses them.
For more information about the Windows.ApplicationModel.Email namespace, please work with your Microsoft Account Team representative.
public ref class EmailStore sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class EmailStore final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class EmailStore
Public NotInheritable Class EmailStore
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
App capabilities |
email
emailSystem
|
Remarks
The functionality described in this topic is not available to all UWP apps. As part of the store app submission process, Microsoft must approve your use of these APIs and provision your developer account before you can publish an app that uses them.
Methods
CreateMailboxAsync(String, String, String) |
Allows an app to create an email account from an account name, an email address, and the user data account in which the mailbox will reside. |
CreateMailboxAsync(String, String) |
Allows an app to create an email account from an account name and an email address. |
FindMailboxesAsync() |
Gets all mailboxes within the current scope. |
GetConversationAsync(String) |
Gets an email conversation from the provided identifier. |
GetConversationReader() |
Gets a batch of email conversations. |
GetConversationReader(EmailQueryOptions) |
Gets a batch of email conversations using the specified email query options. |
GetFolderAsync(String) |
Gets an email folder from an identifier. |
GetMailboxAsync(String) |
Gets a mailbox from an identifier. |
GetMessageAsync(String) |
Gets the specified email message. |
GetMessageReader() |
Gets a message reader. |
GetMessageReader(EmailQueryOptions) |
Gets a message reader using the specified query options. |