Click here to Skip to main content
11,713,845 members (87,945 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: Android email

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
Edited 10-Dec-10 0:12am
Abdul Quader Mamun at 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 at 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
0 Sergey Alexandrovich Kryukov 330
1 CHill60 315
2 OriginalGriff 165
3 Andy Lanng 138
4 KarstenK 110
0 Sergey Alexandrovich Kryukov 365
1 CHill60 335
2 OriginalGriff 245
3 Andy Lanng 173
4 Richard MacCutchan 150

Advertise | Privacy | Mobile
Web01 | 2.8.150819.1 | Last Updated 13 Jan 2011
Copyright © CodeProject, 1999-2015
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