3 Replies Latest reply on Mar 5, 2013 8:16 PM by Flex harUI

    Is it possible to send HTML Email through Flash using navigateToURL()

    katharnak

      Hey,

      I was trying to pass html content to the email body, but looks like it is not doing that.

      var request:URLRequest = new URLRequest('mailto:');

                  var variables:URLVariables = new URLVariables();

                  variables.subject ="Subject";

                  variables.body = '<b>hello</b>';

                  request.data = variables;

                  request.method = URLRequestMethod.GET;

                 

                 request.contentType = "text/html";

                  navigateToURL(request, "_self");

       

       

       

       

       

       

      current output inthe email:   <b>hello</b>

       

       

      Expected result : hello

       

       

      Please let me know if anybody knows the solution

       

       

      Note: I even tried these but didn't work.
      variables.body = encodeURIComponent('<b>hello</b>');