[om2008] little hack for send sms via terminal

Carlo Minucci gecco at napodano.com
Fri Feb 13 13:37:11 CET 2009

(sorry for my bad english)

i have write this http://minucci.net/file/sendsms.py
a little script for send sms via terminal

./sendsms.py +1234567890 "text message"

first you have to copy from a normal distro linux the file 
/usr/lib/python2.5/base64.py into the same dir into the openmoko
because i have no found package with this python module, if somebody 
know the right package... :)

then, you have to export DISPLAY=:0
because my script need to open qtmail

my script insert a query into outbox qtmail database. when qtmail star 
and found a new message in this folder, it send sms
qtmail need to create a file with sms text like an email message in 
i call this sms.tmp

i know... it's not the right way... but i have not found another way and 
it's work :)

need feedback

More information about the community mailing list