Sage 100 Error: “The E-mail engine cannot be started” and “No PDFs can be E-mailed” when sending an e-mail or processing Paperless Office

Description

 “The E-mail engine cannot be started” and “No PDFs can be E-mailed” when sending an e-mail or processing Paperless Office, Electronic Delivery in an earlier version of Sage 100 ERP (formerly Sage MAS 90 or 200), after installing a later version of Sage 100 ERP on the same server

“The Email engine cannot be started” This issue often happens in the upgrade testing phase due to incompatible Chilkatmail2.dll file.
Partial Chilkatlog error information below, with relevant information in bold text:

The E-mail engine cannot be started.

No PDFs can be E-mailed.

Unable to login to SMTP connection.

ChilkatLog:
VerifySmtpLogin:
DllDate: Jan 19, 2012
UnlockPrefix: SBestSoftMAILQ
Username: Architecture: Little Endian; 32-bit
SMTP password is empty.
–VerifySmtpLogin
–ChilkatLog

Cause

The Chilkatmail2.dll Dynamic Link Library (DLL) file installed with a later version of Sage 100 ERP version 2012 or later is not backwards compatible with the same DLL file installed with an earlier version of Sage 100 ERP (formerly Sage MAS 90 or 200)

Resolution

If the new version of Sage 100 ERP was installed as a test environment, and Paperless Office e-mails still need to be delivered from the earlier (current) version of Sage 100 ERP (formerly Sage MAS 90 or 200), then:

  1. Obtain a backup copy of the Chilkatmail2.dll file meant for the earlier version of Sage 100 ERP (formerly Sage MAS 90 or 200)
  2. At the Sage 100 ERP server, look for Chilkatmail2.dll
    • For a 32-bit operating system:
      • C:\Program Files\Common Files\Sage\Common Components
    • For a 64-bit operating system:
      • C:\Program Files (x86)\Common Files\Sage\Common Components
  3. Rename the new Chilkatmail2.dll file meant for the new version of Sage 100 ERP that was just installed
    • Example: new_Chilkatmail2.dll
  4. Restore the backup, earlier version copy of the the Chilkatmail2.dll file to the file location
  5. Re-register the restored Chilkatmail2.dll file.
    • NoteChilkatmail2.dll is a 32-bit file. On 64-bit operating systems, it needs to be registered with the RegSvr32.exe program found in C:\Windows\SysWOW64
    • Note: For more information on how to register a Dynamic Link Library (DLL) file, see the Related Resources section below.
  6. Try sending e-mails or processing Paperless Office, Electronic Delivery again.

Additional Information

“The Email engine cannot be started”

This issue often happens in the upgrade testing phase due to incompatible Chilkatmail2.dll file.