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 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like