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.