Visit The New, Modern Unix Linux Community


Need to set up UNIX script to send sms on mobile


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Need to set up UNIX script to send sms on mobile
# 1  
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 notifications for the same.

Your replies will be very helpful.

Thanks
# 2  
SMS means sending an email message to a phone number usually @phonecompany.com

For example vtext.com used to be the verizon SMS address, may still be.

Say phone number is 123 123-4567, and vtext.com is the SMS connection.

Code:
echo "Fatal error on `hostname`" | mailx -s "`hostname` error" 1231234567@vtext.com

You will have to get your telephony guy at your company to give you the part that 'vtext.com' occupies. Our apple phones use the apple appliance and the 'baz' system to email. YMMV. Your telphony guy has to know or know how to find out.
# 3  
Thanks for your reply Jim, although I am looking for using third party web service for sending sms. Need to know what need to be done..
# 4  
Here is a helpful website How To Send Email to SMS (Text) | Digital Trends

---------- Post updated at 11:33 AM ---------- Previous update was at 11:07 AM ----------

A more inclusive list The Complete List Of Text Messaging Email Addresses | EmailTextMessages.com

---------- Post updated at 12:08 PM ---------- Previous update was at 11:33 AM ----------

After a little research and testing I found out the following:
There is no reliable way to determine the carrier from the phone number for free. Lookup services charge about 10US per 1000 lookups.
If you create the original (mms) email using sendmail instead of mail, you can fake the "from" and "replyto" email addresses so that the recipient of the text can send a text reply directly to the phone of the mail originator.
This User Gave Thanks to jgt For This Post:
 

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #951
Difficulty: Medium
The first known description of a self-reproducing computer program in science fiction was in a short story written in 1970.
True or False?

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

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 ?? (11 Replies)
Discussion started by: arm
11 Replies

2. 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

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. Shell Programming and Scripting

Sending SMS Via Unix Script?

Hi, Is it possible to send sms to a mobile from unix box using Shell Scripting? I really wonder if anyone can help me with some information regarding how to setup the environment if possible. Iam also searching and trying to setup the same. My Environment: HP-UX B.11.11 U 9000/800... (2 Replies)
Discussion started by: Omkumar
2 Replies

7. UNIX for Advanced & Expert Users

Unix shell Script To Send SMS

hi , can anyone help with a script to send SMS to some mobile numbers on some conditions. (1 Reply)
Discussion started by: sdcoms
1 Replies

8. 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