Share via


EmailStore.CreateMailboxAsync Method

Definition

Overloads

CreateMailboxAsync(String, String)

Allows an app to create an email account from an account name and an email address.

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.

public:
 virtual IAsyncOperation<EmailMailbox ^> ^ CreateMailboxAsync(Platform::String ^ accountName, Platform::String ^ accountAddress) = CreateMailboxAsync;
/// [Windows.Foundation.Metadata.Overload("CreateMailboxAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<EmailMailbox> CreateMailboxAsync(winrt::hstring const& accountName, winrt::hstring const& accountAddress);
[Windows.Foundation.Metadata.Overload("CreateMailboxAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<EmailMailbox> CreateMailboxAsync(string accountName, string accountAddress);
function createMailboxAsync(accountName, accountAddress)
Public Function CreateMailboxAsync (accountName As String, accountAddress As String) As IAsyncOperation(Of EmailMailbox)

Parameters

accountName
String

Platform::String

winrt::hstring

The name of the account.

accountAddress
String

Platform::String

winrt::hstring

The email address associated with the account.

Returns

An email mailbox.

Attributes

Windows requirements

App capabilities
email emailSystem

See also

Applies to

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.

public:
 virtual IAsyncOperation<EmailMailbox ^> ^ CreateMailboxAsync(Platform::String ^ accountName, Platform::String ^ accountAddress, Platform::String ^ userDataAccountId) = CreateMailboxAsync;
/// [Windows.Foundation.Metadata.Overload("CreateMailboxInAccountAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<EmailMailbox> CreateMailboxAsync(winrt::hstring const& accountName, winrt::hstring const& accountAddress, winrt::hstring const& userDataAccountId);
[Windows.Foundation.Metadata.Overload("CreateMailboxInAccountAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<EmailMailbox> CreateMailboxAsync(string accountName, string accountAddress, string userDataAccountId);
function createMailboxAsync(accountName, accountAddress, userDataAccountId)
Public Function CreateMailboxAsync (accountName As String, accountAddress As String, userDataAccountId As String) As IAsyncOperation(Of EmailMailbox)

Parameters

accountName
String

Platform::String

winrt::hstring

The name of the account.

accountAddress
String

Platform::String

winrt::hstring

The email address associated with the account.

userDataAccountId
String

Platform::String

winrt::hstring

The user data account identifier associated with this user.

Returns

An email mailbox.

Attributes

Windows requirements

App capabilities
email emailSystem

See also

Applies to