1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
## Info2You provider file - www.info2you.com.au
# Version 2.0
# by Mike MacCana <mikem at cyber.com.au>, based on work by Frank Crawford <Frank.Crawford at ac3.com.au>
# Error codes:
# 1 -> Bad Login/Password
# 2 -> Invalid destination number
# 3 -> Error sending message
NbParams 4
%Login : Your login for Info2You (your Optus GSM number)
%Password Hidden : Your password (visit info2you.com and and register to get this sent to you via SMS)
%Tel : GSM number of recipient(s) (separate with `,')
%Message Size=160 Convert : Your message
# Version 1.10 - update to new site scripts - 9 Oct 2001
# Version 1.20 - added "action=save_sendnow" option - 22 Nov 2001
# Version 2.0 - rewrote for new Optus Info2You web page - 2 Nov 2003
# Logging into Info2You
GetURL http://www.info2you.com.au
GO
PostURL http://www.info2you.com.au/cgi-bin/info2you/sms_service/html_sms_services.cgi
Referer http://www.info2you.com.au/
PostData xyz_msisdn=\%Login%&password=\%Password%
Search please check your details and try again
ErrorMsg 1 Bad login and/or password
GO
# Sending message
PostURL http://www.info2you.com.au/cocoon/websms/websms.xml
Referer http://www.info2you.com.au/cocoon/websms/websms.xml
PostData mobile_phone=\%Tel%&message=\%Message%&counter=0&radaction=sendnow&action=send&groups=&individuals=&finish=Send
Search successfully
PrintMsg Message successfully sent
ElseSearch mobile number entered is improper
ErrorMsg 2 Invalid destination number
Else
ErrorMsg 3 Error sending message
GO
# Be nice and logout
#GetURL http://www.info2you.com.au/cgi-bin/info2you/logout/logout.cgi
#Referer http://www.info2you.com.au/cgi-bin/info2you/send_sms/send_sms.cgi
#GO
|