SendGrid emails not going to multiple recipients?

I have setup the “sendGrid.js” and “email.jsw” in Wix Backend. I am successfully getting emails from a contact form. I added multiple recipients but it seems that I am still the only one receiving the emails? I used sendEmail in my wix code behind the form. Should I be using sendEmailWithRecipient instead? What is the difference between the two? I was going to try and integrate with sendEmailWithRecipient but it does not have the recipient parameter?

Note: I tried searching the Forum but so many items on this I only found 1 thread and I added the multiple recipients separated by semi-colons as that thread showed. Still does not work?

Here is my Wix code behind the form:

import {sendEmail, sendEmailWithRecipient} from ‘backend/email’;
$w.onReady( function () {
$w(“#dataset1”).onAfterSave(sendFormData);
});

function sendFormData() {
let replyto = ‘mailto:’+$w(“#email”).value;
const subject = CVOA Website Feedback;
const body = Name: ${$w("#name").value} \rReply To: ${replyto} \rSubject: ${$w("#subject").value} \rMember: ${$w("#member").value} \rMessage: ${$w("#message").value};
sendEmail(subject, body)
.then(response => console.log(response));
}

Here is my BackEnd;

import {sendWithService} from ‘backend/sendGrid’;

export function sendEmail(subject, body) {
const key = “xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxOBFUSCATED HERExxxxxxxxxxxxx”;
const sender = “cvoawebsite@gmail.com”;
const recipient = “cwvega76@gmail.com;buddyleejjc2@hotmail.com;cvoainc@aol.com”;
return sendWithService(key, sender, recipient, subject, body);
}

export function sendEmailWithRecipient(subject, body, recipient) {
const key = “xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxOBFUSCATED HERExxxxxxxxxxxxx”;
const sender = “cwvega76@gmail.com”;
return sendWithService(key, sender, recipient, subject, body);
}

Hi,
You’ve written it incorrectly:
const recipient "cwvega76@gmail.com ;buddyleejjc2@hotmail.com ;cvoainc@aol.com ";

Try the following:

export function sendEmail(subject, body) {  
   const key = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxOBFUSCATED HERExxxxxxxxxxxxx";  
   const sender = "cvoawebsite@gmail.com";  
   const emailRecipients= ["cwvega76@gmail.com", "buddyleejjc2@hotmail.com" ,"cvoainc@aol.com"];
   emailRecipients.forEach((recipient)=>{
      return sendWithService(key, sender, recipient, subject, body);
   });
}

Good luck!
Tal.

Thank You Very Much, Tal. That worked.