of the parameters are used to seed the compose new message window that is displayed to the
user.
If
bUI
is set to false, the
cTo
parameter is required and all others are optional. You must use a
semicolon “;” to separate multiple recipients in
cTo, cCc, cBcc
parameters. The length limit for
cSubject
and
cMsgBody
is 64k bytes.
Example:
/* This will pop up the compose new message window */
this.mailDoc(true);
/* This will send out the mail with the attached PDF file to fun1@fun.com and
fun2@fun.com */
this.mailDoc(false, "fun1@fun.com", "fun2@fun.com", "", "This is the subject",
"This is the body.");
Note:
This is a Windows-only feature. In addition, the client machine must have its
default mail program configured to be MAPI enabled in order to use this
method.
mailForm
Parameters: bUI, cTo, [cCc], [cBcc], [cSubject], [cMsgBody]
Returns: nothing
4.0
This method exports the form data and mails the resulting FDF file as an attachment to all
recipients, with or without user interaction depending on the value of
bUI.
If it is set to
true
then the rest of the parameters are used to seed the compose new message window that is
displayed to the user.
If
bUI
is set to false, the
cTo
parameter is required and all others are optional. You must use a
semicolon “;” to separate multiple recipients in
cTo, cCc, cBcc
parameters. The length limit for
cSubject
and
cMsgBody
is 64k bytes.
Example:
/* This will pop up the compose new message window */
this.mailForm(true);
/* This will send out the mail with the attached FDF file to fun1@fun.com and
fun2@fun.com */
this.mailForm(false, "fun1@fun.com; fun2@fun.com", "", "", "This is the
subject", "This is the body of the mail.");
Acrobat Forms - JavaScript Object Specification
27
Index Bookmark Pages Text
Previous Next
Pages: Index All Pages
This HTML file was created by VeryPDF PDF to HTML Converter product.