Hi,
If all you need is to send an SMS when a user logs in, then a GSM modem, a serial library for your programming
language and a standard AT command reference is all you need. A function like this should run immediately after creating the session;
def sendSMS(number, message):
import serial
hook = serial.Serial('COM1', 115200)
hook.write('ATZ\r')
hook.write('AT+CMGF=1\r')
hook.write('AT+CSCA="+254722500029"')
hook.write('AT+CMGS="%s"' % number)
hook.write(message+'\n')
hook.write(chr(26))
hook.close()
The worst thing about this thread is the misuse of the phrase "No Pun Intended"
yani everything now days is, "no pun intended"???
I wanted to eat ugali but I cooked chapo by mistake - no pun intended
I thought I was writing php but reallly it was c++ - no pun intended
LOL - no pun intendedPamojaOn Tue, Apr 7, 2009 at 6:17 PM, Joseph Nzioka <jnzioka@gmail.com> wrote:
lmgtfy.comOn Mon, Apr 6, 2009 at 12:47 PM, Putin Laskinov <putin.laskinov@gmail.com> wrote:
Well put Okechukwu._______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
Other services @ http://my.co.ke
--
Kind Regards
............................................
Joseph Nzioka,
Cell:+254 735 452050
Cell:+254 711 968429
_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
Other services @ http://my.co.ke
--
e:daudi.were@gmail.com
skype: d.were
_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
Other services @ http://my.co.ke