Skip to main content

Notifications

Power Automate - Building Flows
Unanswered

flow and plaintext emails

Posted on by

Hey

 

Am after a bit of help. I've created a flow that is taking data from forms and issuing an email. That works fine.

 

My issue is that when the email is sent (using send email v2) to any gmail account the html is stripped and it's shown as plain text. I've copied code from a basic mailchimp template email to see if it's just my code but it still strips the html. The email when sent to outlook is showing fine. [Edit: this happens when sent to other clients other than outlook/exchange]

 

Any ideas why that might be happening?

 

This is the very basic html test

 

 

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="https://www.w3.org/1999/xhtml">
<head>
<title>Test Email Sample</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0 " />
<style>
<!--- CSS code (if any) --->
</style>
</head>
<body>
<strong>This is text</strong>
</body>
</html>

 

 

[Edit: Fixed! I used the SMTP function instead]

 

  • Julien Groud Profile Picture
    Julien Groud on at
    Re: flow and gmail plaintext

    @Anonymous 

    Sorry for not coming with an explanation yet.

    I tried the action below:

    JulienOlivier_0-1598340983145.png

     

    And got the following in the Gmail original message:

    JulienOlivier_1-1598341050688.png

    It is passing some HTML.
    Can you try something like that in your environment?

  • Re: flow and gmail plaintext

    No, @JulienOlivier it's not solved unfortunately, but I have found that it works ok if I use SMTP rather than the Outlook action

     

    Remaining text removed by moderator to delete personal information, at author's request.

  • Julien Groud Profile Picture
    Julien Groud on at
    Re: flow and gmail plaintext

    @Anonymous Is it solved?

    I quickly tried in my environment and I do not see a difference between what I saw in Gmail or Outlook.

    Could you share screenshots of what you get, and what you expected instead?

    Thank you.

  • Re: flow and gmail plaintext

    It's not just my gmail account. And I don't think you can gmail defaults to html

  • abm abm Profile Picture
    abm abm 32,250 on at
    Re: flow and gmail plaintext

    Hi @Anonymous 

     

    Check your gmail html view settings.

     

    Thanks

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,591

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,090

Leaderboard