Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Android email
Hi,
 
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 = ['foo@yahoo.com'];
emailDialog.messageBody = 'Appcelerator Titanium Rocks!';
emailDialog.open();
 
 });
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 10-Dec-10 0:57am
Edited 10-Dec-10 1:12am
Slacker00774.8K
v2
Comments
Abdul Quader Mamun at 10-Dec-10 6:11am
   
Use pre tag for better reading.
Rate this: bad
good
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!
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

if you want send email using asp.net-2. please visit the below link
<a href="http://www.raiseitsolutions.com/forum/viewtopic.php?f=4&t=14">http://www.raiseitsolutions.com/forum/viewtopic.php?f=4&t=14</a>[<a href="http://www.raiseitsolutions.com/forum/viewtopic.php?f=4&t=14" target="_blank" title="New Window">^</a>], its work really great,
  Permalink  
Comments
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 OriginalGriff 406
1 /\jmot 180
2 Suraj Sahoo | Coding Passion 170
3 BillWoodruff 159
4 Afzaal Ahmad Zeeshan 154
0 OriginalGriff 8,344
1 Sergey Alexandrovich Kryukov 7,407
2 DamithSL 5,634
3 Maciej Los 5,024
4 Manas Bhardwaj 4,986


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