9 Replies Latest reply on Apr 25, 2013 6:57 PM by DonMitchinson

    mailto: with Attachement from Flex

    tgoodmannz_bss Level 1

      Hi There,

       

      I'm trying to launch the user's e-mail and automatically embed an attachement:

       

      What I'm trying is:

       

               var src:String = "mailto:test@test.com&subject=test_subject&body=testBody&attachment=assets/test.gif";
                 var urlReq:URLRequest = new URLRequest(src);
                navigateToURL(urlReq, "_self");

       

       

      assets/test.gif is a subfolder to the html hosting the swf

       

      The e-mail launches - but there is no attachment.  Is there something I can do to access the file?  I have also tried surrounding the attachment filename in double quotes - e.g. attachment=\"assets/test.gif\"

       

      Thanks,

      Tim