Skip to main content

Notifications

Community site session details

Community site session details

Session Id :

Send an email from PowerApps

Shanescows Profile Picture Posted 05 Dec 2017 by Shanescows 2,218 Most Valuable Professional

This is a quick video that walks you through connecting your Office 365 Outlook account so you can send emails directly from PowerApps. It also shows you how to accept inputs for that email and how to use a button. Fancy stuff.

 

Shane

ShanesCows

YouTube Channel

Categories:

Comments

  • ppatterson Profile Picture ppatterson 14
    Posted 27 Jul 2022 at 14:14:59
    Send an email from PowerApps

    Works great... just one thing.  How can we preview the eMail before sending?  I can do a Launch with mailto that is a preview, just bad formatting.  With 0365 sendemailv2, great formatting... Users just don't get any "feel" that the eMail was sent nor had the option to verify details.  

  • BenDonahue Profile Picture BenDonahue 930
    Posted 06 Jan 2021 at 12:54:19
    Send an email from PowerApps

    Yet another butt-saver. Thanks Shane!

  • Community Power Platform Member Profile Picture Community Power Pla...
    Posted 21 Jun 2020 at 11:03:14
    Sending a 'Cc' or Bcc email at the same time

    Hi Shane

     

    I'm avidly watching and learning how to do PowerApps with you!

    I have mastered (really Heather??) the sending of an Email with the Send button.

    I have made the 'Consent Form' which is really good, but I would like to send a Cc or a Bcc to myself (as well as the client) and just can't seem to make the formula.

    Currently it appears that this formula works; - Office365Outlook.SendEmail("heather@johnallen.com.au","Our First PowerApps Email","Message");{cc:EmailAddress.Text}    BUT on testing it, only the 'heather etc...email works.  the cc doesn't see the email I typed into the email address box.  I thought perhaps I should have done something in the actual email address box - but after Googling for HOURS I just can't figure it out.

    I understand you'll have SO many questions, but would seriously appreciate any help that can be offered.

     

    Cheers

     

    H 🙂

  • Community Power Platform Member Profile Picture Community Power Pla...
    Posted 20 May 2020 at 02:56:26
    Send an email from PowerApps

    For allowing user to edit the Body of the email:

    Add a RichTextEditor in the Screen. Then for Body refer to the RickTextEditor.

    You can default the Text inside the RichTextEditor - using the weird html formats of PowerApps. But User can still change text and reformat before sending within the RichTextEditor box.

     

    Example

    ForAll(Gallery.AllItems,Office365Outlook.SendEmailV2(EmailAddresssinGallery,"Subject",RichTextEditorSS,{From:From@email.address,Importance:"High"})
    If you don't want to send to all, use a If after "SendEmailV2(" and use condition when to send email or not.
     
    Nizam
  • Community Power Platform Member Profile Picture Community Power Pla...
    Posted 19 Jun 2019 at 02:16:12
    Send an email from PowerApps

    @ngabougaifan 

    I realize this is about a year late... but for others who are interested.  I have a gallery (list) of employees and when I select an employee it takes the user to their "details" screen. On that screen I put a mail icon with the OnSelect function set to:

    Launch("mailto:"&SelectedEmp.'Email Address')

    Where SelectedEmp is a variable for the selected record and 'Email Address' is (obviously) the column/field containing their email address. This will pop-up a new Outlook email with their name populated in the To: field of the email.

     

    Hope this helps!

  • LA-07111402-0 Profile Picture LA-07111402-0
    Posted 06 Feb 2019 at 13:21:19
    Send an email from PowerApps

    Did you get a response to this? I also would like to send an email to the person entered in the TextInput box. Textinput box is connection to office365 and is people/person column in SharePoint. 

  • ngabougaifan Profile Picture ngabougaifan 54
    Posted 08 Aug 2018 at 10:29:16
    Send an email from PowerApps

    Hi. instead of sending the email directly by clicking a button, is it possible to trigger the pop up to compose new email (for editing) instead?

  • Community Power Platform Member Profile Picture Community Power Pla...
    Posted 25 Jul 2018 at 07:29:45
    Send an email from PowerApps

    Can you help me please with making the Flow and the Powerapps funktion? @TheBeanStalk

    We have also our own Exchange accounts (not cloud). and I would like to send a Email to a User which is written inside the Powerapps App in a Textbox

  • TheBeanStalk Profile Picture TheBeanStalk 25
    Posted 12 Jun 2018 at 14:29:37
    Send an email from PowerApps

    @Shanescows 

    Hi Shane,

    No worries. Thanks for the follow up. I learned from our co's IT folks that some of our mailboxes are Exchange accounts, and some are outlook/omicrosoft.com cloud accounts. Mine happens to be an exchange account (not cloud). So, instead of calling the 'Office365' function, set up a Flow event using the Mail connection within PA.

    sendEmail.PNG

    Best,

    Jack

     

  • Shanescows Profile Picture Shanescows 2,218 Most Valuable Professional
    Posted 11 Jun 2018 at 18:13:15
    Send an email from PowerApps

    @TheBeanStalk @Anonymous

     

    Sorry I was out of town last week. Did you make any headway? Is the account you are using an Office 365 email account? Anything special about the account? Are there any scenarios you can get the send email function to work? What if you hard code everything?

     

    Office365.SendEmail("Shane@example.com", "Subject Line", "Body") 

     

    sendmail.PNG