How to Insert multiple objects into collection

I have the same request to upload multiple objects into a collection. I am trying to write a messaging app where the user can send a message to multiple recipients.

I have shared my app: Chomposity, so you can take a look at it.

Page: newmessage - I added some database services to add contacts and to send messages. However, I need to send multiple messages at once. I tried creating a Server Code script, but got confused.

I do not know how to do this using JavaScript and I need help.

Thank you,
1 person has
this question
+1
Reply