Expand my Community achievements bar.

Adobe LC: Email Script.

Avatar

Level 3

Hi,

Someone could pls help me on below requirement:

When the user clicks on the email button the PDF file should attach to the oulook email and following property/option should enable/check in the outlook.

Options->Security Settings->Encrypt message contents and attachents

Written following script on button click event.

var myDoc = event.target;

var address = "";

var subject = "",

myDoc.mailDoc({

bEmpty: true,

cTo: address,

cSubject: subject,

csubmîtAs: "PDF"

});

Additinally i have followed below link aswell to meet the requirement but still the option is not check.

http://www.experts-exchange.com/Web_Development/Document_Imaging/Adobe_Acrobat/Q_26658652.html

I have attached screen shot for reference.

EmailEncryptScreenshot.jpg

Thanks in advance

Jay

4 Replies

Avatar

Level 10

Hi,

you cannot control the settings of Outlook nor another mail application through a script in your form.

That's bacuse the mailDoc function just calls the mailTo protocol on your system.

This protocol is assigned to a specific application, but which may be different on every computer.

Avatar

Level 3

Hi radzmar,

Thank you so much for the mail and Info.

Is there any alternate solution for this.

Thank you,

Jay

Avatar

Level 3

Hi Radzmar,

Thank you for providing the link.

We have tried writing the macro in MS word and its working fine by default the above shown setting is enabled.

Can we write similar kind in Adobe LC ?

Pls find the macro attached.

Macro.jpg

Thank you,

Jayakar