web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Dynamic content in Sen...
Power Automate
Answered

Dynamic content in Send Email V2 formatting problem

(0) ShareShare
ReportReport
Posted on by 5

Hi there, I'm adding a dynamic content in an Send Email V2 email and I want it to be Arial size 15 as per the rest of the text so I've tried to change it using the formatting options. The html shows I've been successful. However when I look at the resulting email in outlook or gmail it hasn't worked.  Any suggestions?

Categories:
  • DJ_Jamba Profile Picture
    2,837 Moderator on at

    Hi @1_by_Grace 

    Can you post the html code you are using in the body of the email?

  • 1_by_Grace Profile Picture
    5 on at

    Thanks @DJ_Jamba - here it is as copied from the Code View window (I've only amended the email addresses):

    {
    "type": "OpenApiConnection",
    "inputs": {
    "parameters": {
    "emailMessage/MailboxAddress": "Y@X",
    "emailMessage/To": "X@X",
    "emailMessage/Subject": "TEST",
    "emailMessage/Body": "<p><span style=\"font-family: Arial; font-size: 16px;\">Dear </span>@{items('Apply_to_each')?['Title']}<span style=\"font-family: Arial; font-size: 16px;\">,</span></p><p><span style=\"font-family: Arial; font-size: 16px;\">\"</span><span style=\"font-family: Arial; font-size: 16px;\">Consider it pure joy, my brothers and sisters, whenever you face trials of many kinds, because you know that the testing of your faith produces perseverance.</span><span style=\"font-family: Arial; font-size: 16px;\">\" James chapter 1, verses 2-3, New International Version.</span></p><p><span style=\"font-family: Arial; font-size: 16px;\">Thanks,</span></p><p><span style=\"font-family: Arial; font-size: 16px;\">Aidan</span></p>",
    "emailMessage/Importance": "Normal"
    },
    "host": {
    "apiId": "/providers/Microsoft.PowerApps/apis/shared_office365",
    "connection": "shared_office365",
    "operationId": "SharedMailboxSendEmailV2"
    }
    }
    }

     

  • Verified answer
    DJ_Jamba Profile Picture
    2,837 Moderator on at

    The only thing I can see wrong is that the first closing span is in the wrong position:

    Dear </span>@{items('Apply_to_each')?['Title']}

     

    should be:

    Dear @{items('Apply_to_each')?['Title']}</span>

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 130

Last 30 days Overall leaderboard