GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  WWW::TWSMS (3)

.ds Aq ’

NAME

WWW::TWSMS - Perl extension for send sms by TWSMS. (http://www.twsms.com)

CONTENTS

SYNOPSIS



  use WWW::TWSMS;
  $sms = WWW::TWSMS->new(Username => "username",
                         Password => "password",
                         SmsType => now,
                         SmsEncoding => big5
                        );
  $sms->msgReceiver("phone_number");
  $sms->msgData("hello world");
  $sms->msgSend();
  $sms->success() or die $sms->errorDescription."\n" ;



DESCRIPTION

This’s a Perl interface for send sms by TWSMS. (http://www.twsms.com)

WWW::TWSMS->new

$sms = new WWW::TWSM->new(Username => ’uname’, Password => ’password’, ...)

The following arguments may be passed to new as a hash.
Username Your Username in the website of TWSMS
Password Your Password in the website of TWSMS
SmsType default ’now’, [dlv]

’now’ mean send SMS now. ’dlv’ mean send SMS at a reserved time.

SmsPopup default ’’,[1]

if SmsPopup = 1

mean the SMS context will show on the screen of Receiver’s mobile phone,

but will not save into Receiver’s mobile phone.

SmsMo default ’’, micro-seconds before retry
SmsEncoding default ’big5’ , [’ascii’,’unicode’,’push’,’unpush’]

big5: the SMS context in Chinese or Engilsh, the max of SMS context length is 70 character. ascii: the SMS context in Engilsh, the max of SMS context length is 160 character. unicode: the SMS context in Unicode.

SmsVldtime SmsVldtime mean the available time of SMS.

Its unit in sec. Example: 86400 (mean 24 hours)

SmsDlvtime SmsDlvtime mean send SMS at a reserved time.

Its format is YYYYMMDDHHII.

Example: 200607291730 (mean 2006/07/29 17:30)

    EXPORT

None by default.

SEE ALSO

The API document of TWSMS

http://www.twsms.com/dl/api_doc.zip

WEBSITE

You can find information about TWSMS at :



   http://www.twsms.com/



AUTHOR

Tsung-Han Yeh, <snowfly@yuntech.edu.tw>

COPYRIGHT AND LICENSE

Copyright (C) 2006 by Tsung-Han Yeh

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.

POD ERRORS

Hey! <B>The above document had some coding errors, which are explained below:B>
Around line 332: You forgot a ’=back’ before ’=head2’
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 WWW::TWSMS (3) 2006-07-30

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.