02.08.2022, 08:23
(02.08.2022, 07:47)admin Wrote: You have to make a separate request for each recipient:
Code:from_nr = '+13253264263'
to_nrs = { 'Number1', 'Number2', 'Number3' }
id_nr = '***' --
token_nr = '***' --
for _, to_nr in ipairs(to_nrs) do
sms(id_nr, token_nr, from_nr, to_nr, 'Alarm HCWC 009 changed to Alarm OFF')
end
Hi,
Thanks for the reply,
It sends only for the first number