Skip to content
Rishan Solutions
Rishan Solutions
  • PowerApps
  • SharePoint online
    • Uncategorized
    • Uncategorized
  • PowerAutomate
Rishan Solutions
Latest Posts
  • Agentic AI: The Dawn of Autonomous Intelligence Revolutionizing 2025 June 24, 2025
  • Recursive Queries in T-SQL May 7, 2025
  • Generating Test Data with CROSS JOIN May 7, 2025
  • Working with Hierarchical Data May 7, 2025
  • Using TRY_CAST vs CAST May 7, 2025
  • Dynamic SQL Execution with sp_executesql May 7, 2025

Sending an Email from Power Apps with HTML Table ,Attachments and Images

Posted on December 29, 2022December 29, 2022 by Rishan Solutions

Loading

An email screen In a canvas app that lets users send an email from their Office 365 Outlook account. Users can search for recipients in their organization and add external email addresses, too. You can add image-attachment support, change the user data that appears in the search gallery, and make other customizations.

Go to +New Screen -> Templates -> Email

You can also add other template-based screens that show different data from Office 365, such as a user’s calendar, people in an organization, and availability of the people users might want to invite to a meeting.

An Email screen Template includes To: We can add Email Addresses of the people To whom the Email needs to be send , Subject: The main subject of the email to clearly understand the purpose of the Email and Message of the Body: We can add the text which needs to be send to the recipient as shown in the figure

To add email addresses for email recipients outside your org, type out the full, valid email address, and select the ‘+’ icon that appears to the right of it

Once we create a screen it automatically connects with “Office365 Outlook” is a cloud-based service that is designed to help build reliable applications according to your business requirements and “Office365Users”

Email Screen Template by default includes The labels, Icons, Galleries and Text Inputs which divides the Email screen template into different sections .

Send Email Icon “iconMail” is by default provided with a function in the Onselect property of the icon, Where it uses the office365 connectors Send Email function by using which we are sending Emails to the Recipients

Send Email V2 Function :

sendEmail function is a deprecated action so we can replace it by using Send Email V2 function. The syntax of this function includes the actions like To, subject, Body which includes from, Cc, Bcc, Attachments, Replay To,Importance…

SendEmailV2 Syntax

  1. SendEmailV2(    
  2.  To,    
  3.  Subject,    
  4.  Body,    
  5.     {    
  6.     From:Text,    
  7.     Cc:Text,    
  8.     Bcc:Text,    
  9.     Attachments:Table,    
  10.     ReplyTo:Text,    
  11.     Importance:Text    
  12.     }    
  13. )   

When we preview the app it will Ask for To Addresses where we can add one or more Emails, maximum it will recommend for 15 Emails

Subject: where we have to indicate the purpose of the Email in a single line

Message: Where we can add the entire details of the mail in Simple Text Format

To send the Email After Entering the details we need to Tap the Send Email icon

The Email will be send to the Outlook where we can see it in the Inbox of the Outlook

Email will be headed by a Subject Displayed on the Top of the mail

Rich Text Email Body:

The Message Body of the Email is in a Simple text format we can also use Rich text format.

Insert a Rich Text Editor and rename it as “RTEBody”

In the control tree view, select RTEBody > … > Reorder > Send to back. This prevents the control from sitting in front of the PeopleBrowseGallery control.

Change the OnSelect property of the iconMail control to this formula:

Rich text Editor can be used to add different fonts ,colors and Links to the Mail.

after giving the details tap on the sendEmailicon

It will send an Email to the Outlook , when we click on the link it will be diverted to the Microsoft documentation.

Add Image To the Body of the Email

Insert Add picture

In the control tree view, select AddMediaWithImage > … > Reorder > Send to back. This prevents the control from sitting in front of the PeopleBrowseGallery control

Change the OnSelect property of the iconMail control to this formula:

User Image in the Email :

Change the OnSelect property of the iconMail control to this formula:

It will add the user image to the email

Signature or Sketches in the Email :

To add signatures to the mail, insert a “Pen input” control to the email

Change the OnSelect property of the iconMail control to this formula:

Add the email addresses and subject and signature to the email .

Posted Under Office 365 Outlook PowerAppsEmail Attachments Email screen Template HTML Email Body Image in Email pen input signatures Profile Picture send Email v2 function

Post navigation

Power Apps interview Questions and Answers
Power apps with one drive for Business

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Agentic AI: The Dawn of Autonomous Intelligence Revolutionizing 2025
  • Recursive Queries in T-SQL
  • Generating Test Data with CROSS JOIN
  • Working with Hierarchical Data
  • Using TRY_CAST vs CAST

Recent Comments

  1. Michael Francis on Search , Filter and Lookup in power apps
  2. A WordPress Commenter on Hello world!

Archives

  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • March 2024
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • June 2023
  • May 2023
  • April 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • January 2022

Categories

  • Active Directory
  • AI
  • AngularJS
  • Blockchain
  • Button
  • Buttons
  • Choice Column
  • Cloud
  • Cloud Computing
  • Data Science
  • Distribution List
  • DotNet
  • Dynamics365
  • Excel Desktop
  • Extended Reality (XR) – AR, VR, MR
  • Gallery
  • Icons
  • IoT
  • Java
  • Java Script
  • jQuery
  • Microsoft Teams
  • ML
  • MS Excel
  • MS Office 365
  • MS Word
  • Office 365
  • Outlook
  • PDF File
  • PNP PowerShell
  • Power BI
  • Power Pages
  • Power Platform
  • Power Virtual Agent
  • PowerApps
  • PowerAutomate
  • PowerPoint Desktop
  • PVA
  • Python
  • Quantum Computing
  • Radio button
  • ReactJS
  • Security Groups
  • SharePoint Document library
  • SharePoint online
  • SharePoint onpremise
  • SQL
  • SQL Server
  • Template
  • Uncategorized
  • Variable
  • Visio
  • Visual Studio code
  • Windows
© Rishan Solutions 2025 | Designed by PixaHive.com.
  • Rishan Solutions