Sending SMS:
#Copyright (c) 2008 Pankaj Nathani
#Sending SMS
import messaging
#For SMS:
messaging.sms_send("0793xxxxxx", u"Remember to pick up chips")
#Sends the text to the specified phone number
Sending MMS:
#Copyright (c) 2008 Pankaj Nathani
#Sending MMS
import messaging
#For MMS:
messaging.mms_send("0793xxxxxx", u"Here's that cute photo", "C:\\skiing.jpg")
#Sends the text and the optional attachment (in this case a photo) to the specified number
Sending Email:
#Copyright (c) 2008 Pankaj Nathani
#Sending email
import messaging
#For email:
messaging.mms_send("abc@domain.com", u"Some message", "C:\\summer.jpg")
#Sends the text and attachment to the specified email address