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
Open the manifest file and replace all the occurrences of
Bundle-Version: 1.0 with
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.
http://<server name>:<port>/lc/system/console/bundlesand delete the bundle with a name as
JavaMail API (com.sun.mail.javax.mail) version 1.6.2.
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.
javax.mail-1.5.6.redhat-1.jarfile downloaded using step 5.
Stop JBoss from the Services Console and append the following properties to Sling.properties file: