×
Namespaces

Variants
Actions
(Redirected from How to send MMS)

Archived:How to send MMS using PySymbian

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngAquivado: Este artigo foi arquivado, pois o conteúdo não é mais considerado relevante para se criar soluções comerciais atuais. Se você achar que este artigo ainda é importante, inclua o template {{ForArchiveReview|escreva a sua justificativa}}.

All PySymbian articles have been archived. PySymbian is no longer maintained by Nokia and is not guaranteed to work on more recent Symbian devices. It is not possible to submit apps to Nokia Store.

This snippet shows how to send MMS in PySymbian.

Article Metadata
Tested with
Devices(s): Nokia N95, Nokia E90
Compatibility
Platform(s): S60 3rd Edition and later
Article
Keywords: messaging
Created: bogdan.galiceanu (17 Apr 2008)
Last edited: hamishwillee (31 May 2013)

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).

This page was last modified on 31 May 2013, at 04:09.
57 page views in the last 30 days.