FIX: Error when sending from Zetadocs PDF Client with Office 365 Print ZTN3624 This Zetadocs technical note applies to: Zetadocs PDF 9.4 and above Symptom When trying to send an email using the Zetadocs PDF client, you get the following error message "Email sending failed. There was an error communicating with the email application. Please check your Email Integration settings and try resending" Cause This can happen after you have upgraded from an older version of Office e.g. 2013 to Office 365. This error can also appear after upgrading from the 32bit version of Office or after performing an operating system upgrade from one version of Windows to another. The upgrades can result in some Microsoft registry entries becoming incorrect or missing. Resolution Registry Editor warning WARNING: Misusing Registry Editor can cause serious problems that may require you to reinstall your operating system. Equisys cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Before going through the resolution shown below please, first of all, uninstall both Office 365 and the Zetadosc PDF client. Doing this reinstall can on occasion fix the issue, if that doesn't work please follow the resolution below. Open the Zetadocs PDF Client log, usually located at "C:\users\%username\AppData\Local\Temp\Zetadocs" Scroll down to see the latest error message and you should see the following: OpenCommunicationWithApplication() Failed to initialize communication with Outlook: System.InvalidCastException: Unable to cast COM object of type 'Microsoft.Office.Interop.Outlook.ApplicationClass' to interface type 'Microsoft.Office.Interop.Outlook._Application'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{00063001-0000-0000-C000-000000000046}' failed due to the following error: Interface not registered (Exception from HRESULT: 0x80040155). Note, the GUID here needs to match to be able to apply the resolution "{00063001-0000-0000-C000-000000000046}" Open the Registry Editor and do the following: Go to HKEY_CLASSES_ROOT\Interface\{00063001-0000-0000-C000-000000000046}\TypeLib Make a note of the Version attribute for later There is a GUID in the (Default) section, copy this. Look for that GUID in the HKEY_CLASSES_ROOT\TypeLib key Browse down to the version number you noted, and then go through the 0\Win64 keys. You will then see a file path to a file called MSOUTL.olb Make sure Outlook and Zetadocs PDF Client are closed. Download the regtlbv12 tool from here: https://files.equisys.com/pub/zetadocs/v9.4/Uploads/regtlibv12.zip After downloading the regtlbv12 tool, run a command line as an administrator browse to the location where regtlb is downloaded to Run the command "regtlbv12.exe <path to MSOUTL.olb from registry>" This should return a success message. Start Zetadocs Client and try sending via Outlook again. This should now work. Status The issue is resolved by the workaround detailed above. Last updated: 5th July 2022 Author: MB/NT RegistryUpdate Related articles INFO: Changes in Brooktrout driver version 6.17.1 update FIX: Item tracking is no longer a requirement on journal items in Business Central with Zetadocs Extension installed FIX: Tables render incorrectly in PDF files when not using Native Rendering HOWTO: Upgrading the Zetadocs Expenses Connector for Business Central and NAV on-premises PRB: Unable to see document factbox when creating a new Document