可以使用代码C#将降价字符串分配给电子邮件正文

发布于 2025-02-12 03:23:05 字数 300 浏览 0 评论 0原文

可以使用代码分配给电子邮件正文的标记字符串(表)吗? C# 如果不是,我该如何将Markdown分配给在电子邮件主体中以编程方式渲染?

我正在使用Azure“逻辑应用程序” O365发送电子邮件操作

示例Markdown表:

**Payment Approval Request by:** Brian Pem\n\n| | |\n|--------------|-----------|\n| **Group:** | 39850 |\n| **Approval Email GL:** | 06350 |

Can a markdown string (table) be assigned to the body of an email using code? c#
If not how can I assign markdown to render in an email body programmatically?

I'm using an Azure "Logic apps' O365 send email action

example markdown table:

**Payment Approval Request by:** Brian Pem\n\n| | |\n|--------------|-----------|\n| **Group:** | 39850 |\n| **Approval Email GL:** | 06350 |

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

星星的軌跡 2025-02-19 03:23:05

Outlook不知道Markdown标记。您需要将Markdown标记转换为HTML代码,然后分配给消息正文。

Outlook is not aware about the markdown markup. You need to translate the markdown markup into HTML code and then assign to the message body.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文