0 Replies Latest reply on Dec 9, 2010 3:57 AM by RudiAcikgoz

    AIR app - attach a pdf to email

    RudiAcikgoz

      I have tried the code below, but It does not work properly. Could anyone suggest on the same please?

      thanks

       

      var emailUrl:URLRequest = new URLRequest("mailto:");
          var vars:URLVariables = new URLVariables();
          vars.bcc = "test@test.com";
          vars.attachments = "c:/test.pdf";
          emailUrl.data = vars;
          navigateToURL(emailUrl);