--- In [email protected], "breizo" <bre...@...> wrote:
>
> I am trying to send an email through the default local email system with 
> URLRequest. 
> Tried the example below with no success. 
> Also tried to add " around s with no more success...
> Has anybody done it before?
> 
> Thanks
> 
> var file:File = File.documentsDirectory("myfile.txt");
> var s:String = file.url;
> 
> var request:URLRequest=new 
> URLRequest("mailto:[email protected]?subject=hello&body=trying to 
> attach&attachment="+s);
> navigateToURL(request,"_self");
>


Reply via email to