Latest News

the latest news from our team

Unable to Send Email with eFORMz Version 11.03 and Later

NOTE: When upgrading to the latest version of eFORMz, this change needs to be made in the eFORMz.ini and the jsl_ServiceManager.ini.

One of the following errors are issued when attempting to send email through eDIRECT or eDIRECT PLUS in eFORMz Version 11.03 or later:

Outputting to eDirect error
com/sun/activation/registries/LogSupport

Outputting to eDirect error
javax/activation/DataHandler

These errors are issued because eFORMz is not configured to send emails. To enable the email feature, modify the startup parameters used to launch eFORMz to include the file activation.jar. Follow the steps below to add the email feature to your eFORMz instance:

  1. Close any running eFORMz Composer instances. Back up eFORMz.ini. The default location is eFORMz installation folder, c:\Minisoft\eFORMz_6.
  2. Open eFORMz.ini in a text editor such as Notepad++. The file should contain text similar to this. Your javaw.exe path, -mx, and -ms values might be different, but the jar files must match the jar files in your jar directory:
    .\bin\javaw.exe -mx1024M -ms128M -Xbootclasspath/a:jars/javax.mail-1.5.5.jar;jars/jai-imageio-core-1.3.1.jar;jars/activation.jar
  3. Save changes to eFORMz.ini.
  4. Back up jsl_ServiceManager_64.ini.
  5. Open jsl_ServiceManager_64.ini in a text editor such as Notepad++. Modify the value for param02 to match the following:
    param02 = -Xbootclasspath/a:jars/javax.mail-1.5.5.jar;jars/jai-imageio-core-1.3.1.jar;jars/activation.jar
  6. Save jsl_ServiceManager_64.ini.
  7. Close all eFORMz windows.
  8. Restart eFORMz ServiceManager 64 from Windows Services.
  9. Start the eFORMz Composer and resend the email using eDIRECT or eDIRECT PLUS.

The following error might be issued when attaching a PDF file to an email message:

javax.activation.UnsupportedDataTypeException: no object DCH for MIME type application/pdf

This error is known to be issues when activation.jar is missing from Minisoft jars directory. This resource is built in to some versions of Java. If you receive this message, contact Minisoft Support for assistance.

Leave a Reply

Your email address will not be published. Required fields are marked *