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).

Figure 1 - Create contact group

I have created three contacts in the created group (testcontact1,
testcontact2, contact 3) (Figure 2).

Figure 2 - Create contacts

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: grp__testgrp@test.com

Figure 3 - SMS message to a built-in SMTP server

On Figure 4 you can see that Ozeki NG SMS Gateway has sent out
the messages to the contacts of the contact group.

Figure 4 - Sent messages in Ozeki NG SMS Gateway

Web GUI

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.

Figure 5 - SMS message to web GUI

On Figure 6 you can see that the message has been sent to the
contact group.

Figure 6 - Sent message in Ozeki NG SMS Gateway

Excel client

In Excel you need to define the recipient in column A as
grp://groupname (Figure 7).

Figure 7 - Send message with Excel

On Figure 8 you can see that Ozeki NG SMS Gateway has sent out
the message to the contact group.

Figure 8 - Sent message in Ozeki NG SMS Gateway

Database user

In database user you need to specify the recipient in the
following form: grp://groupname in the receiver field (Figure 9).

Figure 9 - Send message with database user

On Figure 10 you can see that Ozeki NG SMS Gateway has sent
out the message to the contacts.

Figure 10 - Sent message in Ozeki NG SMS Gateway

HTTP API

To send SMS message from HTTP API to contact groups you need to enter the
recipient after recipient= section of the script.