Sponsored Content
Top Forums UNIX for Dummies Questions & Answers sms to handphone using unix server Post 74203 by tom_xx_hu@yahoo on Wednesday 8th of June 2005 10:19:33 AM
Old 06-08-2005
If you are strict on "SMS", you would need either a modem or find the vendor's internet gateway to SMS. A couple for protocols exists and so are corresponding software applications.

If you are not strict on "SMS" but would send any (yet short) text message to cell phone over a reliable (yet not HA) service, then e-mail to the phone is a good alternation. Mobile service caompany now provide e-mail to all most all cell phones, such as <phone_number>@<mobile_company>.com


Tom
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Sending SMS on AIX unix

Is it possible to send SMS messages from an AIX unix machine? Preferable using a unix script. I hope somebody knows the answer. (3 Replies)
Discussion started by: chriss
3 Replies

2. HP-UX

sending sms to handphone

Hi guys, anyone knows exactly how to send sms to handphone from a unix server? What is/are needed to perform such a task??Pls Advise. (1 Reply)
Discussion started by: alexjee
1 Replies

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

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

5. Shell Programming and Scripting

how to create a SMS Server

I am not sure if I am posting to correct group but would like to know more in SMTP SMS and how to create a SMS Server (0 Replies)
Discussion started by: uunniixx
0 Replies

6. Shell Programming and Scripting

bash unix cron + sending sms

Hi all, i'm trying to send an sms (notification sms) via a bash script executing throw crontab. The script works fine, but the sms itsn't sent to me. can you help me to resolve this issue, plz. Thanks. Yes - we probably COULD help you if you WOULD provide us with your script, the... (0 Replies)
Discussion started by: arezki76
0 Replies

7. Shell Programming and Scripting

Find and delete files and folders which are n days older from one unix server to another unix server

Hi All, Let me know how can i find and delete files from one unix server to another unix server which are 'N' days older. Please note that I need to delete files on remote unix server.So, probably i will need to use sftp, but question is how can i identify files and folders which are 'N'... (2 Replies)
Discussion started by: sachinkl
2 Replies

8. UNIX for Dummies Questions & Answers

Sending sms from UNIX server

Hi, I am currently using Unix solaris server. I need to send a sms to my mobile whenever the CPU usage exceeds the threshold. I tried using mail command its not working. I am using Vodafone sim. Can anyone help me to find this as soon.:confused: And also exactly i don't know the SP name... (9 Replies)
Discussion started by: Arasu123
9 Replies

9. AIX

Sending SMS from my AIX server

Hello AIXian :) I'm trying to send SMS from my AIX server, but I can't find any good solution :confused: Can anyone help me please to finish this task? Many thanks (2 Replies)
Discussion started by: Mohannad
2 Replies

10. 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
SMS::Send(3pm)						User Contributed Perl Documentation					    SMS::Send(3pm)

NAME
SMS::Send - Driver-based API for sending SMS messages SYNOPSIS
# Create a sender my $sender = SMS::Send->new('SomeDriver', _login => 'myname', _password => 'mypassword', ); # Send a message my $sent = $sender->send_sms( text => 'This is a test message', to => '+61(4) 1234 5678', ); # Did the send succeed. if ( $sent ) { print "Message sent ok "; } else { print "Failed to send message "; } DESCRIPTION
"SMS::Send" is intended to provide a driver-based single API for sending SMS and MMS messages. The intent is to provide a single API against which to write the code to send an SMS message. At the same time, the intent is to remove the limits of some of the previous attempts at this sort of API, like "must be free internet- based SMS services". "SMS::Send" drivers are installed separately, and might use the web, email or physical SMS hardware. It could be a free or paid. The details shouldn't matter. You should not have to care how it is actually sent, only that it has been sent (although some drivers may not be able to provide certainty). METHODS
installed_drivers The "installed_drivers" the list of SMS::Send drivers that are installed on the current system. new # The most basic sender $sender = SMS::Send->new('Test'); # Indicate regional driver with :: $sender = SMS::Send->new('AU::Test'); # Pass arbitrary params to the driver $sender = SMS::Send->new('MyDriver', _login => 'adam', _password => 'adam', ); The "new" constructor creates a new SMS sender. It takes as its first parameter a driver name. These names map the class names. For example driver "Test" matches the testing driver SMS::Send::Test. Any additional params should be key/value pairs, split into two types. Params without a leading underscore are "public" options and relate to standardised features within the SMS::Send API itself. At this time, there are no usable public options. Params with a leading underscore are "private" driver-specific options and will be passed through to the driver unchanged. Returns a new SMS::Send object, or dies on error. send_sms # Send a message to a particular address my $result = $sender->send_sms( text => 'This is a test message', to => '+61 4 1234 5678', ); The "send_sms" method sends a standard text SMS message to a destination phone number. It takes a set of named parameters to describe the message and its destination, again split into two types. Params without a leading underscore are "public" options and relate to standardised features within the SMS::Send API itself. text The "text" param is compulsory and should be a plain text string of non-zero length. The maximum length is currently determined by the driver, and exceeding this length will result in an exception being thrown if you breach it. Better functionality for determining the maximum-supported length is expected in the future. You input would be welcome. to The "to" param is compulsory, and should be an international phone number as indicated by a leading plus "+" character. Punctuation in any form is allowed, and will be stripped out before it is provided to the driver. If and only if your driver is a regional driver (as indicated by a ::-seperated name such as AU::Test) the "to" number can also be in a regional-specific dialing format, "without" a leading plus "+" character. Providing a regional number to a non-regional driver will throw an exception. Any parameters with a leading underscore are considered private driver-specific options and will be passed through without alteration. Any other parameters without a leading underscore will be silently stripped out and not passed through to the driver. After calling "send_sms" the driver will do whatever is required to send the message, including (potentially, but not always) waiting for a confirmation from the network that the SMS has been sent. Given that drivers may do the actual mechanics of sending a message by quite a large variety of different methods the "send_sms" method may potentially block for some time. Timeout functionality is expected to be added later. The "send_sms" returns true if the message was sent, or the driver is fire-and-forget and unable to determine success, or false if the message was not sent. SUPPORT
Bugs should be reported via the CPAN bug tracker at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=SMS-Send <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=SMS-Send> For other issues, contact the author. AUTHOR
Adam Kennedy <adamk@cpan.org> COPYRIGHT
Copyright 2005 - 2011 Adam Kennedy. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module. perl v5.14.2 2012-04-07 SMS::Send(3pm)
All times are GMT -4. The time now is 02:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy