Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
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
Updated 10-Dec-10 0:12am
v2
Comments
Abdul Quader Mamun 10-Dec-10 6:11am    
Use pre tag for better reading.

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!
 
Share this answer
 
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,
 
Share this answer
 
Comments
[no name] 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900