×
Namespaces

Variants
Actions
Revision as of 19:30, 4 December 2008 by bogdan.galiceanu (Talk | contribs)

Archived:How to send MMS using PySymbian

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Tested with
Devices(s): Nokia N95, Nokia E90
Compatibility
Platform(s): S60 3rd Edition
Article
Keywords: messaging
Created: (17 Apr 2008)
Last edited: bogdan.galiceanu (04 Dec 2008)

Contents

Overview

This snippet shows how to send MMS in Python.

Preconditions

Note: This method is available from S60 3.0 onwards (inclusive).

Source code

import messaging
 
 
attachment = "E:\\Images\\picture.jpg"
#The path of the file you wish to attach (optional)
messaging.mms_send("number", u"message", attachment)

Postconditions

The message (in Unicode format) along with the attachment is sent to the specified number (in string format).

60 page views in the last 30 days.
×