How to send SMS text messages to contact groups
On this page you will find solutions on how to send SMS text messages to contact groups using the various sending methods with Ozeki NG SMS Gateway.
For demonstration I have created a contact group called testgrp in Ozeki NG SMS Gateway (Figure 1).
I have created three contacts in the created group (testcontact1, testcontact2, contact 3) (Figure 2).
Built-in SMTP server
If you want to send messages to the built-in SMTP server you
need to specify the recipient in the following form:
grp__groupname@domainname (Please note that there are two underscores after grp keyword in the recipient!)
In this example: firstname.lastname@example.org
On Figure 4 you can see that Ozeki NG SMS Gateway has sent out the messages to the contacts of the contact group.
To send SMS messages from web GUI, you need to specify the
recipient as grp://groupname (Figure 5).
In this example it is grp://testgrp.
On Figure 6 you can see that the message has been sent to the contact group.
In Excel you need to define the recipient in column A as grp://groupname (Figure 7).
On Figure 8 you can see that Ozeki NG SMS Gateway has sent out the message to the contact group.
In database user you need to specify the recipient in the following form: grp://groupname in the receiver field (Figure 9).
On Figure 10 you can see that Ozeki NG SMS Gateway has sent out the message to the contacts.
To send SMS message from HTTP API to contact groups you need to enter the
recipient after recipient= section of the script.
On Figure 11 you can see the sent message from HTTP API.