Sending Sms to Multiple Numbers at Once

How can I send SMS to many numbers at once command via my huawei modem from my laptop, I found the command mmcli as my best solution, sending one sms to one number is working fine, but once I tried to send the same text to two numbers or more nothing will heppend even if the response was : successfully created and sent sms, here some of my try

sudo mmcli -m 0 --messaging-create-sms="text='test',number='first_number',text='test',number='sencond_number'"

sudo mmcli -m 0 --messaging-create-sms="text='test',number='firstnumbersecondnumber'"

These two commands gives me 'successfully created sms' and 'successfully send sms' when sending, but I didn't receive any sms in my phone

if I tried to separate numbers by , or ; it gives me an error GDBus.Error:org.freedesktop.ModemManager1.Error.Message.InvalidPduParameter: Invalid number

When I read the manual I didn't find any thing can help me, I don't want to use for loop ==> this will be my last solution.

Thanks in advance.

4
Elena Rostova

Elena Rostova

Lead Health, Wellness & Medical Journalist

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.

Share this article