File: gomobile.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 (41 lines) | stat: -rw-r--r-- 1,115 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
29
30
31
32
33
34
35
36
37
38
39
40
41
## SkySMS provider file - www.gomobile.ch ##
# Version 0.04
# by  Halm <halm at gmx dot net>
# Error codes :
#  1 -> Falscher Login
#  2 -> Limit berzogen
#  9 -> Allgemeiner Fehler

NbParams 4
%Login : Dein Login von GoMobile
%Password Hidden : Dein Passwort bei GoMobile 
%Recipient : Der Empfaenger
%Message Convert : Deine Message
# Size knnte noch gesetzt werden, aber bei gm wird gesplittet!
# Allerdings max 20 SMS/Tag fr Swisscom Kunden

# Einloggen bei GoMobile
GetURL http://www.gomobile.ch/Portal?cmd=startFreeSMS
GO
PostURL http://www.gomobile.ch/Portal?cmd=procLogin
PostData userName=\%Login%&password=\%Password%

Search formLogin
	ErrorMsg 1 Falscher Login oder Konto gesperrt
	GO
	GetURL http://www.gomobile.ch/Portal?cmd=startFreeSMS
GO

# Senden der Message
PostURL http://www.gomobile.ch/Portal
Referer http://www.gomobile.ch/Portal?cmd=procLogin
PostData cmd=procGenSendFreeSMS&address=\%Recipient%&smstext=\%Message%

Search Nachricht wurde erfolgreich gesendet
	PrintMsg Nachricht erfolgreich gesendet
ElseSearch 20 SMS
	ErrorMsg 2 Limit ueberzogen
Else
	ErrorMsg 9 Allgemeiner Fehler
GO