dotnet/maui

Email support HTML body on Windows

Open

#23.968 aberto em 1 de ago. de 2024

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)C# (1.951 forks)batch import
area-essentialsgood first issueproposal/opent/enhancement ☀️

Métricas do repositório

Stars
 (23.245 stars)
Métricas de merge de PR
 (Mesclagem média 47d 9h) (248 fundiu PRs em 30d)

Description

Description

I would like to be able to compose mails with an HTML body, as you can do on iOS or for example using an Outlook interop MailItem (on Windows).

MAUI gives you only an Exception on Windows (EmailImplementation):

if (message != null && message.BodyFormat != EmailBodyFormat.PlainText)
				throw new FeatureNotSupportedException("Windows can only compose plain text email messages.");

Public API Changes

(none to my knowledge)

Intended Use-Case

Format the body of a mail e.g. for better readability or corporate identity stuff.

Guia do colaborador