I want to send a PDF via mail using a button in the PDF. Button exists, current code looks like this:
var To= "a@b.com";
var CC= "";
var Subject= "Subject";
var Text="Text";
this.mailDoc({bUI: true, cTo: To, cCc: CC, cSubject: Subject, cMsg: Text});
So far, so good. But the PDF should be a attetchment with read-only options for all fields and the "Mail"-Button should not be there anymore. How can I achive this?
Thanks.