SendTo email group

I have an application that is sending an email to an email group name…Lets call it “ITCorp”. The members of the ITCorp group are PlantA, PlantB, PlantC & Plant D. All "Plant members are groups also.

I have a user who is a member of PlantA & PlantC. He’s receiving two emails via the application. Is there something that can be done so he only receives one email?

Subject: SendTo email group

Hello,

You may try to fetch all the group members in an array and use "ArrayUnique(sourceArray [,compMethod ]) " method to retrieve unique array items and then send mail to this array. Pls check the Domino help for this method description.