Skip to content
logo Knowledgebase

Event log errors when sending emails with Microsoft Outlook or SMTP

Created on  | Last modified on 

Summary

How to troubleshoot different errors when emailing from Sage 50 Accounts or Sage 50 Payroll.

Description

When you try to send emails from your software using Outlook, you may see the error:

'Unable to send all emails. Error with the address. Unknown Error. Check Windows event Log for more details.'

Follow this guide for help with checking your Windows event log, and for what to do next.

Resolution

First, ensure your version of Microsoft Office is compatible with your Sage software. If you use an incompatible version, your software will fail to send emails.

  1. Select Help then About.
  2. In the Program Details section, check the version number.
  3. Open Microsoft Outlook and click File.
  4. Click Office Account then About Outlook.

To find out if your software is compatible, visit our what is the compatibility of my software with Microsoft Office guide.

 NOTE: If you have Sage 50 Accounts v28 or above, and Outlook 2016 and above, you need to follow different steps first. Follow our Error: 'Unable to send all emails. Error with the address xxx: Unknown..' article. 


Check error message in Windows Event Log

If you receive the error 'Unable to send all emails. Error with the address. Unknown Error. Check Windows event Log for more details.' follow the steps below:

  1. Type Event viewer in the search box on your taskbar.
  2. Click the Event Viewer app, then maximise the window of the app.
  3. Click Windows Logs in the list to the left, then select Application.
  4. Check the section headed Application for any errors where the Source is Sage Report Designer.
  5. Select an error to view its details in the General tab below.

 NOTE: If the error refers to 'MAPI', check your email settings are correct. For help with checking your settings, visit the set up your documents for email article. 


Resolve the error

There are different errors that can appear in the event viewer. Check your error for the text below, then click the relevant option to find out your next steps.

▼ SMTP - an error occurred while attempting to establish an SSL or TLS connection

Error occurred window with full details.

To resolve this, check your antivirus or firewall software for any email protection and disable it and attempt to send email again.

If the email sends without error, speak with your local IT support to exclude Sage applications from the email protection element of your security software.

If the issue persists, follow the steps in our Unable to apply Webmail settings using Email Defaults article.


▼ Unable to cast COM object

Error: 'Unable to cast COM object of type Microsoft.Office.Interop.Outlook.ApplicationClass....'

An issue with the Outlook installation causes this error, for example after downgrading outlook.

Run a repair of the Outlook installation, then check you've resolved the issue. For help with doing this, or for further troubleshooting, contact your IT support.