Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Windows.ApplicationModel.Email.EmailManager #74

Open
jamesmcroft opened this issue Oct 6, 2019 · 2 comments
Open

[Feature] Windows.ApplicationModel.Email.EmailManager #74

jamesmcroft opened this issue Oct 6, 2019 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@jamesmcroft
Copy link
Member

Description

Implement the EmailManager API to provide the ability to compose an e-mail and send it via the platform's email client.

How will this benefit you and others?

This API will allow applications to easily compose an email without having to implement per platform.

What is the expected API coverage?

EmailManager

Methods

Task ShowComposeNewEmailAsync(EmailMessage message)

EmailMessage

Properties

IList Attachments { get; }

IList Bcc { get; }

string Body { get; set; }

IList CC { get; }

string Subject { get; set; }

IList To { get; }

EmailAttachment

Properties

IStorageFile Data { get; set; }

string FileName { get; set; }

string MimeType { get; set; }

EmailRecipient

Properties

string Address { get; set; }

string Name { get; set; }

@jamesmcroft
Copy link
Member Author

In the UWP API, EmailAttachment Data property is IRandomAccessStreamReference.

Proposing that this is IStorageFile instead although this is a change between the Windows API and the XPlat API.

@jamesmcroft jamesmcroft added enhancement New feature or request up-for-grabs help wanted Extra attention is needed labels Oct 6, 2019
@jamesmcroft
Copy link
Member Author

Helpful links to relevant platform APIs:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant