How to remove one recipient from the recipient list (eMail.Recipients) in Support.js file/ How to clear the eMail.Recipients

Hi,

I am working on support.js file. The script for creating a case for incoming email, auto reply to customer for the mail with case details etc. are working fine.

I have to create an auto mail to assigned user of the case with case details. This is also working but the issue is, the auto mail to assigned user also going to customer.

eMail.Recipients is the list recipients. I have to remove the customer mail id from this recipient list.

l try to clear the recipient list using eMail.Recipients.Clear() and eMail.Recipients="". this is not working.

Does anyone have any advice for me on what to try next?