Hello,
I'm using the below code on the On Select property of a send button to send an email to the Office 365 OutLook user(s) selected. Everything is working great except the emails only go to me, not the other OutLook user(s) selected. It doesn't give an error, the email to them just isn't sent. I know that's because my email address is in the code, but I don't know how to alter it correctly. How can I update the below code so that it sends the email to the OutLook users selected and not just to me?
Office365Outlook.SendEmailV2(
"SamanthaLavoie@myorg.com",
"REMINDER: Monitoring Report(s) Due", //Subject of Email
"<h5>"
&
"Hello,<br><br>
My message..."
& "</h5> <br>
<table cellpadding ='4' border= '1pt solid white' style='color:white;background-color:#3E679F'
width='100%'><tr><th>CONTRACT NUMBER</th><th>CONTRACTOR NAME</th><th>DIVISION</th><th>RISK LEVEL</th><th>REPORTING PERIOD</th></tr>" & Concat(
GallerySearch_1.AllItems,
$"<tr><td style='text-align:center;
background-color:lightsteelblue'>{ThisRecord.Title}</td><td style='text-align:center;
background-color:lightsteelblue'>{ThisRecord.'CONTRACTOR NAME'}</td><td style='text-align:center;
background-color:lightsteelblue''>{ThisRecord.DIVISION.Value}</td><td style='text-align:center;
background-color:lightsteelblue''>{ThisRecord.'RISK LEVEL'.Value}</td><td style='text-align:center;
background-color:lightsteelblue''>{ThisRecord.'NEXT REPORT DUE DATE'.Value} </td></tr>"
)&"</table> <br>",
{
From: User().Email
}
);
Clear(MyPeople);
Navigate(EmailNotifications)
Thanks in advance to anyone who can help me out.
Samantha