
Announcements
Hi, so I have an app that I use at my company for booking offices. It is working on the whole but I have been looking at enhancements that are out my knowledge base. I have the following set up for a confirmation email:
Office365Outlook.SendEmailV2(
User().Email,
"Office Booked Successfully",
"Thank you for booking an office for " &
DataCardValue2.Selected.DisplayName &
" for the following: " &
"Date: " & DataCardValue1.SelectedDate & " " &
"Desk: " & DataCardValue4.Text & " " &
"Neighbhorhood: " & Dropdown1.Selected.Value & " " &
"To book another office, please submit a new form."
);
Navigate(Success);
It is working as intended, but we have run into issues with users. We want folks to be able to book for other people if needed, but I have no idea how to have a confirmation go to both people. Is this possible to modify or should I start from scratch?
You can send emails and CC others into an email. As of now I believe the newest version is SendEmailV3 so u can update the code to
Office365Outlook.SendEmailV3({
From: "pauser@utt.edu.tt",
To: "Requestor's Email",
CC: "Requestee's Email",
Subject: "Office Booked Sucessfully",
Body: "Thank you for booking an office for " & DataCardValue2.Selected.DisplayName & " for the following: " & "Date: " & DataCardValue1.SelectedDate & " " & "Desk: " & DataCardValue4.Text & " " & "Neighbhorhood: " & Dropdown1.Selected.Value & " " & "To book another office, please submit a new form."
});
Navigate(Success);