Click here to Skip to main content
11,713,845 members (87,945 online)
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 9-Dec-10 23:57pm
Edited 10-Dec-10 0:12am
Slacker00784.9K
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 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