Dear all,
We just tried to sent an email with an Adaptive Card. In the body we the below code.
After testing the flow, we do receive an email, but no Adaptive Card is shown.
If we look at the source of the email (see also below), we see that the + sign in the script tag is replaced by +
We were wondering if this could be the reason for not seeing anything in the e-mail. Or could it be something else?
Anyone any ideas to resolve this?
With regards, Dennis and Pauline
=== Code in Power Automate ===
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="application/adaptivecard+json">
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.3",
"body": [
{
"type": "TextBlock",
"text": "New TextBlock",
"wrap": true
}
]
}
</script>
</head>
</html>
=== Source of received mail ===
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<script type="application/adaptivecard+json">
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.3",
"body": [
{
"type": "TextBlock",
"text": "New TextBlock",
"wrap": true
}
]
}
</script>
</head>
<p>If you want to unsubscribe from these emails, please use this <a href="https://forms.office.com/Pages/ResponsePage.aspx?id=v4j5cvGGr0GRqy180BHbR3C9XjiHUVxLhDY4Jhbh4V1UM0I5QTNBV0ZIQzg4VFhVWFpVQ1RBTlVWUS4u" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;"></html>
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional