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 = "",
Additinally i have followed below link aswell to meet the requirement but still the option is not check.
I have attached screen shot for reference.
Thanks in advance
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.
you can turn on the encryption by default in Outlook.
Check this Microsoft article:
Europe, Middle East and Africa