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
Slacker00775.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 George Jonsson 215
1 Kornfeld Eliyahu Peter 169
2 OriginalGriff 120
3 PIEBALDconsult 110
4 BillWoodruff 85
0 OriginalGriff 6,165
1 DamithSL 4,658
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,649
4 Sergey Alexandrovich Kryukov 3,294


Advertise | Privacy | Mobile
Web03 | 2.8.141220.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