Click here to Skip to main content
13,000,164 members (47,213 online)
Rate this:
Please Sign up or sign in to vote.
See more:

I am trying to create an application for sending Email from titanium developer application

b.addEventListener('click', function() {
var emailDialog = Titanium.UI.createEmailDialog();
emailDialog.subject = "Hello from Titanium";
emailDialog.toRecipients = [''];
emailDialog.messageBody = 'Appcelerator Titanium Rocks!';;

It opens a pop up window for sending email after composing mail when I click on send.

It is not sending mail.

Please Help

Thanks in Advance
Pratik Asthana
Posted 9-Dec-10 23:57pm
Updated 10-Dec-10 0:12am
Abdul Quader Mamun 10-Dec-10 6:11am
Use pre tag for better reading.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Pratik, your code worked fine on my end, after some testing, you must have an email client configured on the device your sending from and make sure its able to send mail from its own email client. Also, the iPhone and android emulators will not email, you will have to use a real device. Hope this helps!
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

if you want send email using please visit the below link
<a href=""></a>[<a href="" target="_blank" title="New Window">^</a>], its work really great,
Kevin L. Hopkins 13-Jan-11 9:45am
The question is about Titanium, not .Net

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170624.1 | Last Updated 13 Jan 2011
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100