The issue applies to the following version:
User is not able to perform operations such as Send PDF via Email or Include Attachments with Submission configuration.
Download jar as java.mail-1.0.jar and unzip the downloaded jar file to obtain the manifest file.
Use the manifest file of java.mail-1.0.jar
retrived from Step 1 to create a new custom jar file say as java.mail-1.5.jar
.
Open the manifest file and replace all the occurrences of 1.5.0
with 1.5.6
and Bundle-Version: 1.0
with Bundle-Version:1.5
Create a new custom jar (java.mail-1.5.jar
) file by using following command in C:\Adobe\Adobe_Experience_Manager_Forms\java\jdk\bin
folder as:
jar -cfm java.mail-1.5.jar manifest.mf
In the above command, manifest.mf is the name of the manifest file and java.mail-1.5.jar is the name of the file that would be created after executing the above command.
Download javax.mail-1.5.6.redhat-1.jar.
Navigate to http://<server name>:<port>/lc/system/console/bundles
and delete the bundle with a name as JavaMail API (com.sun.mail.javax.mail) version 1.6.2
.
Install java.mail-1.5.jar
obtained from step 3. This step restarts the sling properties of the JEE deployment. Wait for the installed bundles at http://<server name>:<port>/lc/system/console/bundles
to show Status as Active.
Note: In case, the status is still InActive, restart JBoss from the Services Console.
Install javax.mail-1.5.6.redhat-1.jar
file downloaded using step 5.
Stop JBoss from the Services Console and append the following properties to Sling.properties file:
org.osgi.framework.system.packages.extra=javax.activation; version\=1.2.0
sling.bootdelegation.activation=javax.activation.*
Restart JBoss.