mail.doc send a blank form
Hi.
Extract from the JS-Reference:
mail.doc
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});
}
else
{app.alert("Blablabla");}
//

