9 Replies Latest reply on Nov 8, 2016 2:34 AM by JR_Boulay

    mail.doc send a blank form

    JR_Boulay Adobe Community Professional



      Extract from the JS-Reference:


      Saves the current PDF document and mails it as an attachment to all recipients


      I also noticed that Readers older than version XI(11) requires the form to be Right-Extended.



      All is in the title.

      Even from a Right-Extended form, it's always sent blank, tested with Adobe Reader 9, Acrobat Reader DC, Acrobat Pro DC and Acrobat Pro XI.


      Is there a known issue or did I make something wrong?


      Here is my script.

      controle() is a function that check required fields so they cannot be sent empty, but they are blank in the email attachment, before sending the email.


      // mailDoc
      var ctrl = controle();
      if(ctrl==true) {
          var fTo = "name\u0040example.com";
          var fSubject = "Questionnaire de satisfaction";
          var fBody = "Bonjour.\r\rCi-joint mes r\u00E9ponses au questionnaire.";
          this.mailDoc({bUI: true, cTo: fTo, cSubject: fSubject, cMsg: fBody});