-
1. Re: How to get "Subject" & "Message" text from Flash form to default e-mail MS Outlook?
kglad Apr 28, 2012 10:26 PM (in response to mdnavaz)add a subjectText input textfield and use:
function SendEMail(event:MouseEvent):void {
var email:URLRequest = new URLRequest("mailto:administrator@helpdesk.com?CC=poweruser@helpdesk.com&Subject="+subjectText.txt+"?body=from: "+fromText.txt+"\n\n"+MessageText.txt);
navigateToURL(email, "_blank");
} -
2. Re: How to get "Subject" & "Message" text from Flash form to default e-mail MS Outlook?
mdnavaz Apr 28, 2012 11:58 PM (in response to kglad)Thanks for the reply. I tried the code and result is like the following:
To: administrator@helpdesk.com
Subject: [object TextField]?body=From: [object TextField]
Body: Blank
The problem exist in SUBJECT & BODY.
Further help, please.
Thanks.
PS: I removed the ? before body and put & ------> the result is as follows:
To: administrator@helpdesk.com
Subject: [object TextField]
Body: From: [object TextField]
[object TextField]
One more thing that it opens an empty web page with the following text in adress bar:
mailto:administrator@helpdesk.com?CC=poweruser@helpdesk&Subject=Feedback
-
3. Re: How to get "Subject" & "Message" text from Flash form to default e-mail MS Outlook?
kglad Apr 29, 2012 8:42 AM (in response to mdnavaz)use:
var email:URLRequest = new URLRequest("mailto:administrator@helpdesk.com?CC=poweruser@helpdesk.com&Subject="+ subjectText.text+"&body=from: "+fromText.text+"\n\n"+MessageText.text);