Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Email Button Functionality

Avatar

Level 3

Hi,

I have written following email script on button(not Email button). The problem is the functionality is not working in Adobe Acrobat Reader version and it is working fine in Adobe Acrobat pro and Adobe Standard

var mail;
var saddress = "test@abc.com";
var subj = "Test Subject";
mail = "mailto: " + saddress + "?Subject=" + subj;
event.target.submitForm({
cURL: mail,
bEmpty: true,
cSubmitAs: "PDF",
cCharset: "utf-8"
});

Can someone please help where I have done wrong.

Thank you in advance

Regards,

Jayakar

2 Replies

Avatar

Level 2

I usually use the "button" field and then label it "email".  Then do the same as you have for the email button....choose submit, enter mail to:, PDF format.

Etta Cay

Avatar

Former Community Member

Jayakar:

Adobe Reader users can only submit XDP, FDF, XFDF, XML formats unless the form has Usage Rights Enabled in Reader.

However, if you can only submit XDP, FDF, XFDF, or XML, you can merge the PDF submit response with a blank PDF form on a server by submitting to a server side script, and attach the merged document to an e-mail message and send via SMTP server without Client-Side email software such as Outlook.

For more information:

http://www.pdfemail.net/