Hi,
I have a requirement to send email and CC multiple users dynamically depending on the selected record.
I was trying the below code but I was getting an error as well. Any thoughts, please?

Office365Outlook.SendEmailV2(
"XXX",
"International Roaming for " & varRecord.Title,
"<p><strong>Hi, </strong></p>
<p>Travel request is approved. Please provide international roaming for " & varRecord.Title & ".</p>
<p>Click <a href='" & appURL & "&ID=" & varRecord.ID & "'>here</a> to view the details.</p>",
{
Cc: cc,
Bcc: admin; varRecord.'Created By'.Email,
IsHtml: true,
Importance: "Normal"
}
)