Sending document as email attachment on mobile (android)
Hello,
I've written a script to lock fields then compose an email with the document as an attachment. Works perfectly on PC but only the lock function works on Acrobat Reader for Android. Is there any way to get this code to work on mobile or is it simply not supported? Are there any workarounds? Please help before I finish pulling out my hair!
for (var i = 0; i < this.numFields; i++) {
var fname = this.getNthFieldName(i);
this.getField(fname).readonly = true; // makes all fields readonly
}
this.mailDoc({
bUI: false,
cTo: this.getField("customer email").value ,
cCc: "xxx@xxx.com",
cSubject: "REPORT: " + this.getField("customer name").value + "_" + this.getField("job date").value + "_" + this.getField("ID").value,
cMsg: "Greetings,\n\n" + "Please find attached \n\n" + "Regards,",
});
