cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
YAYA
Helper I
Helper I

Office365 Outlook Send Approval Mail

Hi, anyone try Office365 Outlook Send Approval Mail! And what is notificationUrl parameter! Anyone can provide an example.

thanks 

3 REPLIES 3
rubin_boer
Super User
Super User

hi @YAYA 

There are a few parts to this, please have a look at adaptive cards and actionable messages (https://docs.microsoft.com/en-us/outlook/actionable-messages/#outlook-version-requirements-for-actio...) . You will notice that this is only for the outlook client.

 

Hope it sheds more light on the topic.

 
v-jefferni
Community Support
Community Support

Hi @YAYA ,

 

Could you please share more details about your scenario? Would you like to send approval Emails to users?

 

If so, firstly the syntax of Office365Outlook.SendApprovalEmail is as follows:

Office365Outlook.SendApprovalMail(
   "https://www.google.ca",
    {
         To:"johndoe@domain.com",
         Subject: "This Is My Options Email Title",
         Options: "Option1,Option2,Option3",
         HeaderText:"Header Text",
         SelectionText:"Selection text",
         Body: "This is the message you want to send",
         Importance:"Low",
         Attachments:Blank(),
         UseOnlyHTMLMessage:true,
         HideHTMLMessage:true,
         ShowHTMLConfirmationDialog:false
    }
)

 

But why not consider use Power Automate? There are several OOTB solutions to send approvals and easy to use:

125.png

and you could also find a few posts in the community talking about them with scenarios.

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

leyburn19
Memorable Member
Memorable Member

Using flow for this is easy,  but this is another resource that has limitations on api calls etc.  Why build something in the app if it is not useable?  I understand your syntax but what is the url doing or being used for

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (2,207)