File: tankssms.sms

package info (click to toggle)
smssend 3.4-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,232 kB
  • ctags: 114
  • sloc: sh: 11,314; ansic: 2,368; perl: 104; makefile: 58
file content (28 lines) | stat: -rw-r--r-- 875 bytes parent folder | download
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
# Tank's SMS provider file - websms.ii.net ##
# Version 0.02
# by Rohan Mitchell <rohan.mitchell@linuxmail.org>
# Error codes :
#  1 -> Bad login and/or password
#  2 -> Error sending message

NbParams 4
%Login : Your login name
%Password Hidden : Your password
%Tel : Number to dial, Australia only, no international wrangling
%Message Size=160 Convert : Your message


# Login
PostURL http://websms.ii.net/login.cgi
PostData username=\%Login%&password=\%Password%
Referer http://websms.ii.net/login.cgi?user=none&session=0
GO

# Send message
PostURL http://server.websms.ii.net/cgi-bin/smsmedev.cgi
PostData user=\%Login%&session=\%RTRegex-1-1-1-session=([A-Z0-9]+)"%&location=home&whichnumber=mobileno&reference=websms.ii.net&mobileno=\%Tel%&phonebookno=\%Tel%&text=\%Message%&Len=160
Search Yes
PrintMsg Message successfully sent
Else
ErrorMsg 2 Error sending message
GO