cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
romsta
Frequent Visitor

Show your HTML text here

Intermittently, some users click on a button which does some validation and then if it passes validation, it sends an email containing all the data contained within that form, however some times they send an email with no body apart from "Show your HTML text here."

Is there any reason for this as it is very frustrating for the user base when it occurs?  If so, what are the possible solutions to stop this from happening in the future?  Thanks!

13 REPLIES 13

The majority of times it works fine, it is only sometimes that it doesn't work.  Are you able to advise what the format of the 'take a try' is?  I enter try but it is not recognised.  Thanks

Hey romsta,

The advice there was to see if you have any other code that sends the email and check which html text control they are referencing.

The code you provided seems to be fine so the assumption is that the issue is somewhere else

Hi @romsta ,

Please modify your Send Email formula in your app as below:

If(
   SG2Success="SaveDraft",Navigate(LandingDashboard);Notify("Project has been saved as draft.",NotificationType.Success),
   If(
       SG2Success="Submit",
       Office365Outlook.SendEmail(
                                  SG2SenstveBusOwnVal.Text,
                                  "Stage Gate 2 Submitted for Business Approval -"&SG2PrjNumbVal.Text&" -"&SG2PrjNameVal.Text,
                                   If(SG2EmailBodyApproval.HtmlText <> "Show your <b><font color=blue>HTML</font></b> text here.", SG2EmailBodyApproval.HtmlText) // Just modify formula here
                                  {
                                    IsHtml:true,
                                    Importance:Normal,
Attachments: AddColumns(RenameColumns(SG2AttachmentsVal.Attachments,"Value","ContentBytes"),"@odata.type","")});Patch('PM&R Tracker',First(Filter('PM&R Tracker',ProjectNumber=SG2PrjNumbVal.Text)),{ProjectStatus:LookUp(Choices('PM&R Tracker'.ProjectStatus),Value="Stage Gate 2 -Pending Business Owner Approval")});Navigate(LandingDashboard);Notify(SG2PrjNumbVal.Text & " has been submitted for approval –this form is now locked until a decision is actioned.",NotificationType.Success),Navigate(LandingDashboard))

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I have (the same?) problem.

In design mode it sends mail well. But once you publish it, it is not sending what suppose to be in the HtmlText.

I tried both sendmail and sendmailV2 - did not work.

I tried putting the HTML code into the sendmail itself (not using it via HtmlText) - did not work.

There must be an issue within  office365outlook connector.

 

So, once again, it's not working in published mode, but works fine in edit mode.

How do we fix this?

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,104)