Visit Our UNIX and Linux User Community

Send SMS to mobile

Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Send SMS to mobile
# 1  
Old 11-27-2019
Send SMS to mobile

Hello Folks,

I need to send the output from shell script to range of mobile phones based on their msisdn . Is there any open source solution could help me to do so from CentOS or redhat ??
# 2  
Old 11-27-2019
You will need to use someone's SMS gateway service. For example, here is one with an sh based SMS API (using curl):


But there are so many APIs like this on the net, and you should deeply research all your options and various APIs available.
# 3  
Old 11-27-2019
my country is not on the list , what shall I do ?
# 4  
Old 11-27-2019
Check other sites for an SMS gateway service which services your country.
# 5  
Old 11-27-2019
For DIY ... you can get a small ARM board with sim slot with linux installed.
Buy a sim card or make a contract, like for regular phone.

Using opensource software such as Gammu you can program your app to send sms via above little box.

The Gammu package does not include just this binary, but as well Gammu SMS Daemon, Gammu library and Python bindings which you can use to develop own application accessing mobile phone.
Of course, you can always get a sms gateway service online, as suggested.

Hope that helps
These 4 Users Gave Thanks to Peasant For This Post:
# 6  
Old 11-27-2019
You don't need an SMS gateway, if you know the carrier that the cell phone number is attached to. for example:
mail -s "subject" $number@$carrier" <email.message"

# 7  
Old 11-27-2019
Originally Posted by jgt
You don't need an SMS gateway, if you know the carrier that the cell phone number is attached to. for example:
mail -s "subject" $number@$carrier" <email.message"

You are describing an email to SMS gateway service provided by some carriers.

These types of email to SMS gateways are becoming more and more rare these days, generally speaking.

Previous Thread | Next Thread
Test Your Knowledge in Computers #846
Difficulty: Medium
The term "sideload" was coined in the late 1990s by IBM.
True or False?

6 More Discussions You Might Find Interesting

1. AIX

send SMS via curl

I need from aix to send an SMS, you know if the command curl serves me (3 Replies)
Discussion started by: tricampeon81
3 Replies

2. UNIX for Dummies Questions & Answers

Need to set up UNIX script to send sms on mobile

Hi All, Can anyone please help in setting up Unix script for sending text messages on mobile?? Actually scenario is we want notification when there is any failures in our processes or if any service goes down we must be notified by a text message on our mobile, we already have email... (3 Replies)
Discussion started by: NikhilM
3 Replies

3. Shell Programming and Scripting

Bash script to send SMS

Hey guys I was wondering how to go about creating a bash script to send SMS..any ideas are appreciated.. (2 Replies)
Discussion started by: blackzeus
2 Replies

4. UNIX for Advanced & Expert Users

Script which will run every 10minutes and Send SMS to mobile

Hello Genuis guys, I am running Aix5 and Oracle 9 on it. I have sql query which only count a particular rows. I need to prepare a script which will run that sql query every 10 minutes and if the ouput count is greate than 20. It will send SMS to mobile numbers. Need your kind help to... (8 Replies)
Discussion started by: thepurple
8 Replies

5. IP Networking

Send SMS from PC to mobile phones

Hi All, Can any expert provide me a guide on how i can send SMS from pc to mobile phone using VBA or some other language ? I am a newbie in networking. (1 Reply)
Discussion started by: Raynon
1 Replies

6. Programming

can anyone send sms application

actually i need this sms application ,to gain some knowledge in linux platform. (1 Reply)
Discussion started by: parvathy
1 Replies

Featured Tech Videos