dotnet/maui

Email support HTML body on Windows

Open

#23,968 建立於 2024年8月1日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)C# (1,951 fork)batch import
area-essentialsgood first issueproposal/opent/enhancement ☀️

倉庫指標

Star
 (23,245 star)
PR 合併指標
 (平均合併 47天 9小時) (30 天內合併 248 個 PR)

描述

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.

貢獻者指南