How to Send a SMS text trough the command line - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120) +--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121) +---- Forum: UBPorts on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=125) +---- Thread: How to Send a SMS text trough the command line (/showthread.php?tid=9176) |
How to Send a SMS text trough the command line - PinePhoneCoder - 02-15-2020 Type in the terminal app of via SSH: First enable the modem of your PinePhone if not done already: Code: sudo /usr/share/ofono/scripts/enable-modem Then send sms text message: Code: /usr/share/ofono/scripts/send-sms /quectelqmi_0 +31628860414 "Hello world!" 0 Replace +31062880414 with the phone number or the desired receiver and replace "Hello world!" with your message. With a cron job you could send a birthday message to your friends on their birthdays automatically. I will not explain how to do that, it is your home work from me. My birthday is at 15 Nov b.t.w. RE: How to Send a SMS text trough the command line - prasket - 02-27-2020 (02-15-2020, 06:59 AM)PinePhoneCoder Wrote: With a cron job you could send a birthday message to your friends on their birthdays automatically. I will not explain how to do that, it is your home work from me. My birthday is at 15 Nov b.t.w. Are you telling us that +31628860414 is your tele |