Namespaces
Variants
Actions

Archived:How to send email using PySymbian

Jump to: navigation, search
Archived.png
Archived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

This snippet shows how to send email in PySymbian.

Article Metadata

Tested with
Devices(s): Nokia N95, Nokia E90

Compatibility
Platform(s): S60 3rd Edition

Article
Keywords: messaging
Created: bogdan.galiceanu (08 Jun 2008)
Last edited: hamishwillee (14 Sep 2012)

Preconditions

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

Source code

import messaging
 
 
attachment = "E:\\Images\\photo.jpg"
#The path of the file you wish to attach (optional)
messaging.mms_send("address", u"message", attachment)
#Where "address" is the email address of the recipient, like abc@xyz.com

Postconditions

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

This page was last modified on 14 September 2012, at 03:21.
200 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved