Languages

Menu
Sites
Language
Email body and subject write problem

hello everyone,

                        in my web app i open compose mail window click on button but i can't write subject and email body in my app.

                        i want to when email compose window open then alredy write subject and body in my app. i want to write email subject and body through code.

Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

2 Replies
Lakshmi Grandhi
Did you try code in the link https://developer.tizen.org/help/topic/org.tizen.web.appprogramming/html/tutorials/communication_tutorial/messaging_tutorial.htm?resultof=%22%45%6d%61%69%6c%22%20%22%65%6d%61%69%6c%22%20
Alex Dem
Hi From your Web App you could do it using AppControl this way: config.xml: ... < tizen:privilege name="http://tizen.org/privilege/application.launch"/ > ... javascript: ... var appControl = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/send", "mailto:", null, null, [ new tizen.ApplicationControlData("http://tizen.org/appcontrol/data/subject",["your subject"]), new tizen.ApplicationControlData("http://tizen.org/appcontrol/data/text", ["your text"]) ] ); tizen.application.launchAppControl(appControl, null, function(){console.log("launch service succeeded");}, function(e){console.log("launch service failed. Reason: " + e.name);}); ... Alexey.