# How to get the Subject text & Message text on default email app from flash form?

**URL:** <https://forum.kirupa.com/t/how-to-get-the-subject-text-message-text-on-default-email-app-from-flash-form/328219>\
**Category:** Uncategorized\
**Created:** [April 28, 2012, 7:39pm UTC](https://forum.kirupa.com/t/how-to-get-the-subject-text-message-text-on-default-email-app-from-flash-form/328219 "2012-04-28T19:39:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![learner\_7n](https://avatars.discourse-cdn.com/v4/letter/l/b2d939/32.png) [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Post date:** [April 28, 2012, 7:39pm UTC](https://forum.kirupa.com/t/how-to-get-the-subject-text-message-text-on-default-email-app-from-flash-form/328219/1 "2012-04-28T19:39:04Z")

</div>

Hi,

The following code is okay to open an default email application and fill the following fields:

1. To
2. Cc  
[COLOR=#ff0000]3) Subject ----\> It is to be retrieved from flash form dynamically (Not a static text, always “Feedback”[/COLOR]

I need the following as well. Which is not in the code:

[COLOR=#0000ff]4) Message -----\> How can I get the text from which the user typed in “Message” box on flash form to my email message area?[/COLOR]

[//1.Button](https://1.Button) event listener  
SendMail.addEventListener(MouseEvent.CLICK, SendEMail);

[//2.The](https://2.The) SendMail function open up email application to send email.  
function SendEMail(event:MouseEvent):void {  
var email:URLRequest = new URLRequest("mailto:myemail@example.com?CC=Hisemail@example.com&Subject=Feedback");  
navigateToURL(email, “\_blank”);  
}

Any help would be appreciated in this regard.

Regards,
