Could you please share more details about your questions here?
If you would like to send Email within PowerApps, you could either take use of the Office 365 Outlook connection:
Or consider add a Flow within PowerApps, then Send the Email through Microsoft Flow:
Hi @v-micsh-msft, I'm trying to send an email with options from PowerApps. How do you use Office365.SendMailWithOptions? Can you give an example? I tried searching all over the internet but couldn't find an example of how to get this working.
I currently have been very successful using send email with options using regular outlook (not 365 due to not all people getting the email are within the group). Here is a picture of the flow information. Be sure that the "use only HTML message" is marked Yes. The responses are captured using the Update Item command in Flow.
I was wondering if I can send email with options directly from PowerApps without using Flow. I see an option there using Office365 connector (see attached), but just can't figure out build the 'Message' parrameter.
From your picture, in the command box is "Office365.SendMailWithOptions" - the dialog box just above it is "SendMailWithOptions(Message, ...). Message denotes that it is asking for the message to be sent. Continue to follow these prompts for clues to get the value. I would place in the PowerApp a text box for the message to be included and name it "Message Body" - the text box then would be referenced in the parameters. Something close to
Also Shane Young has a great video addressing this issue. His videos are extremely helpful, short, and to the point.
Hi @TerrificTerri, thanks for your reply. I watched a few Shane Yong's videos but couldn't find my answer.
'Message' parrameter is not accepting a text value. I'm getting below error. I assume I need to build a 'Message' using all the required email fields like To, Subject, Body, etc.
Invalid argument type (Text). Expecting a Record value instead.
I found below link from internet which gives some details on which parrameters are required to send email with options but is not helping me to build the Message in correct format.
Any specific reason why you dont want to use Flow? I choose to use Flow because I was not able to record responses without Flow. That might be something to consider, if you need the responses. Sorry I am not of more help.
Flow has certain limitations. It can't go back to previous step.
For e.g. Requester submits form to his/her manager for approval. Manager wants the requester to make few changes to the form and send the the form back to requester with details of requested changes. Requester makes the required changes and re-submits the form for approval. This loop can occur a few times until the form is approved and Flow doesn't have capabalities at the moment to handle such situation. Correct me if I'm wrong.
I, too, am quite curious on using the Power Apps connector for this and possibly the SendApprovalMail option but don't know what to do with the parameters like NotificationURL in place of where the To: would normally reside.
I stumbled across the same reference site as the only thing out there and nothing helpful.
I'm really surprised I can't find any other inquiries of the same outside of this. The reason for using it directly in Power Apps vs flow? Well, once you've started using the "Office365Outlook.SendEmail" (V2) you realize it's a lot easier than creating a Flow, especially if you're going to have a dozen or so different emails to setup. It's also one less product to integrate in the solution.
My gut tells me these are either not usable yet or you have to build a Flow and put in parameters that reference that Flow so that it is what actually runs. All that said, if both SendApprovalMail and SendMailWithOptions do the exact same thing and have the same limited options as Flow I would still be left missing a piece of the puzzle for my requirement of allowing the approver to approve and send to another approver of their choice (connected to an AD people picker.
Check out the on demand sessions that are available now!
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Features releasing from October 2020 through March 2021
Check out the Power Platform Community Highlights