Re: [flexcoders] Passing an email *subject* when opening email client?
With your help I could put together a solution. Here's what worked for me: private function launchMailer(e:Event):void{ var mailLink:URLRequest = new URLRequest(mailto://; + e.currentTarget.label + ?subject=Hello Nabble: + someID.text + :: + anicelyformattedDate.text); navigateToURL( mailLink, _self ); } Cheers, JRB JRBower wrote: The function below works great for passing the email address but I'd like to also pass the subject also. Any ideas how to include the subject in this function? private function launchMailer(e:Event):void { var mailLink:URLRequest = new URLRequest(mailto://; + e.currentTarget.label); navigateToURL( mailLink, _self ); } Thanks, James -- View this message in context: http://www.nabble.com/Passing-an-email-*subject*-when-opening-email-client--tp17582920p17599551.html Sent from the FlexCoders mailing list archive at Nabble.com.
Re: [flexcoders] Passing an email *subject* when opening email client?
I think you append ?subject=foo but it only works in MSIE... It's been a while tho so I could be very wrong! -J On Sun, Jun 1, 2008 at 5:01 PM, JRBower [EMAIL PROTECTED] wrote: The function below works great for passing the email address but I'd like to also pass the subject also. Any ideas how to include the subject in this function? private function launchMailer(e:Event):void { var mailLink:URLRequest = new URLRequest(mailto://; + e.currentTarget.label); navigateToURL( mailLink, _self ); } Thanks, James -- View this message in context: http://www.nabble.com/Passing-an-email-*subject*-when-opening-email-client--tp17582920p17582920.html Sent from the FlexCoders mailing list archive at Nabble.com. -- Therefore, send not to know For whom the bell tolls. It tolls for thee. :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]
Re: [flexcoders] Passing an email *subject* when opening email client?
http://www.google.com/search?btnI=Iq=mailto+syntax On Sun, 2008-06-01 at 00:01 -0700, JRBower wrote: The function below works great for passing the email address but I'd like to also pass the subject also. Any ideas how to include the subject in this function? private function launchMailer(e:Event):void { var mailLink:URLRequest = new URLRequest(mailto://; + e.currentTarget.label); navigateToURL( mailLink, _self ); } Thanks, James -- View this message in context: http://www.nabble.com/Passing-an-email-*subject*-when-opening-email-client--tp17582920p17582920.html Sent from the FlexCoders mailing list archive at Nabble.com.
Re: [flexcoders] Passing an email *subject* when opening email client?
I believe it's related to mailto protocol (http://www.rfc.net/rfc2368.html), something like listed below should work: navigateToURL(new URLRequest(mailto://[EMAIL PROTECTED]), _self ); -- Thanks, Vadim. - Original Message - From: JRBower To: flexcoders@yahoogroups.com Sent: Sunday, June 01, 2008 10:01 AM Subject: [flexcoders] Passing an email *subject* when opening email client? The function below works great for passing the email address but I'd like to also pass the subject also. Any ideas how to include the subject in this function? private function launchMailer(e:Event):void { var mailLink:URLRequest = new URLRequest(mailto://; + e.currentTarget.label); navigateToURL( mailLink, _self ); } Thanks, James -- View this message in context: http://www.nabble.com/Passing-an-email-*subject*-when-opening-email-client--tp17582920p17582920.html Sent from the FlexCoders mailing list archive at Nabble.com.