Archived:How to send MMS using PySymbian
Aquivado: 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.
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
(08 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).


26 Sep
2009
28 Sep
2009