Mac mail format help

Hi all. May I have your assistance on solving this?

The code below works fine on PCs - the mail, but on Macs it generates all the code in the “To:” field.

Any help would be much appreciated!

Thanks!


var mailSubject:String =  "Subject"

var mailText:String = "this is the body of the mail";

function sendMail(event:MouseEvent=null):void 
{ 
    var request:URLRequest = new URLRequest("mailto:"+"&subject="+mailSubject+"&body="+mailText); 
    request.method = URLRequestMethod.POST;
    navigateToURL(request, "_self");
}