05-19-2020 19:56 PM - last edited 05-19-2020 19:57 PM
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
watch?v=bF7WkqtxKB0
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!
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
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 🙂
Yet another butt-saver. Thanks Shane!
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.