azureoutlookmarkdownpowerappso365-flow

can a markdown string be assigned to the body of an email using code c#


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 |

Solution

  • 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.