Notifications
Announcements
If( IsBlank(ambFileAttach.Media), Office365Outlook.SendEmailV2( "default.email@example.com", // Default email address "New Issue logged via app", "<b>Name of Reporter:</b> " & TextInput_Name.Text & "<br>" & "<b>Reporter Email:</b> " & TextInput_Email.Text & "<br><br>" & "<b>Location of issue:</b> " & TextInput_Location.Text & "<br>" & "<b>Subject of issue:</b> " & TextInput_Subject.Text & "<br><br>" & "<b><u>Description of issue</u></b> " & RichTextInput_Description.HtmlText & Navigate(Screen_Confirmation) ), Office365Outlook.SendEmailV2( "default.email@example.com", // Default email address "New Issue logged via app", "<b>Name of Reporter:</b> " & TextInput_Name.Text & "<br>" & "<b>Reporter Email:</b> " & TextInput_Email.Text & "<br><br>" & "<b>Location of issue:</b> " & TextInput_Location.Text & "<br>" & "<b>Subject of issue:</b> " & TextInput_Subject.Text & "<br><br>" & "<b><u>Description of issue</u></b> " & RichTextInput_Description.HtmlText, { Attachments: Table( { Name: ambFileAttach.FileName, // Use the original file name ContentBytes: JSON(ambFileAttach.Media, JSONFormat.IncludeBinaryData), // Convert media to Base64 string '@odata.type': If( Right(ambFileAttach.FileName, 3) = "jpg" || Right(ambFileAttach.FileName, 3) = "jpeg", "image/jpeg", // For JPEG files If(Right(ambFileAttach.FileName, 3) = "png", "image/png", "application/octet-stream") // For PNG files or binary fallback ) } ) } ) ); Set(varReportedLocation, TextInput_Location.Text)
With( { wFile: Table( { Name: AddMediaButton1_2.FileName, ContentBytes: AddMediaButton1_2.Media }, { Name: AddMediaButton1_3.FileName, ContentBytes: AddMediaButton1_3.Media } ) }, Office365Outlook.SendEmailV2( "EMAIL", "SUBJECT LINE", "BODY", { Attachments: AddColumns( wFile, '@odata.type', "" ) } ) )
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 717 Most Valuable Professional
Michael E. Gernaey 329 Super User 2025 Season 2
Power Platform 1919 268