1 Reply Latest reply on Mar 10, 2010 8:11 AM by lovemuz25

    How to use submitForm with mailto: and hide the mail Form? (javascript)

    lovemuz25

      More explicitly, I have a button that send a mail. But I to do the job (sending) in background. I'm using Javascript.

       

      I'm using this code: (this is only a part of my code)

       

      var adresse = "mailto:IamSomeone@xyz.com"; (by exemple)

       

      this.submitForm({
           cURL: adresse,
           cSubmitAs: "FDF",
           cUsageRights: submitFormUsageRights.RMA});

       

      This work. It send a mail, but the form of Outlook (I'm using Outlook) is opening and I want to hide it and do everything in background.

       

      How can I do that?

      If isn't clear, post here for more information.

       

      Tanks