Ok, next, put that string into a variable and use the var in the url string. When that works, all you need to do is generate the string from the form, and put it in the var.
Tracy Spratt, Lariat Services, development services available _____ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Kearney Buskirk Sent: Thursday, November 05, 2009 11:51 PM To: flexcoders@yahoogroups.com Subject: [SPAM] Re: [flexcoders] Re: text from a form into an e-mail? Thanks for your response. I re-wrote the code so at least I can send body text without the form data. private function sendEmail():void { navigateToURL(new URLRequest('mailto:kearney@ <mailto:kear...@gmail.com?body=some%20body%20text%20goes%20in%20here'> gmail.com?body=some%20body%20text%20goes%20in%20here'),'_self') } Now the problem is how to specify the contents of the FormItems in the 'mailto'. Kearney On Nov 5, 2009, at 6:28 PM, Tracy wrote: How does it "not work"? Where is the problem? Can you build and send body text without using the form data? I have done this a lot, but do not have my code in front of me right now. Do it one step at a time. Tracy --- In flexcod...@yahoogro <mailto:flexcoders@yahoogroups.com> ups.com, Kearney Buskirk <kear...@...> wrote: Hi I'm trying to move text filled into a form in an app being built with Flash Builder beta2 into the body of an e-mail. I'm trying to do this via the default program on the user's computer because it seems potentially simplest. If there's a better basic strategy or a big problem my aforementioned strategy, please clue me in. What I've tried that hasn't worked is calling this function on clicking the Submit button: private function sendEmail():void { var u:URLRequest = new URLRequest("mailto:recepient@ <mailto:recepi...@...?body=> ...?body="+ nameFormItem); navigateToURL(u, "self"); } I suspect there's at least a problem with the code after the email address.... Better for the FormItem text to be put into Model first? Need to use an HTTP Service? Thanks for your attention. Kearney Buskirk LightThruMedia ------------------------------------ -- Flexcoders Mailing List FAQ: http://groups. <http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share. <https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e6 2079f6847> acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail- <http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo> archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links (Yahoo! ID required) flexcoders-fullfeat <mailto:flexcoders-fullfeatu...@yahoogroups.com> u...@yahoogroups.com