When using Sage 50 to email invoices, statements, or reports, you encounter the message: ‘An unknown error occurred connecting to the SMTP server,’ and then you are unable to proceed. The problem is experienced by many users of the Sage 50 product because the software is unable to connect to the outgoing mail server. This issue will prevent your business from sending crucial emails via Sage 50. The positive thing is that it is normally easy to correct once one knows what is happening.
This article explains the meaning of the email error, its causes, and how to resolve it in stages. We will also discuss the ways of ensuring that it does not occur again in the future.
Table of Contents
SMTP (Simple Mail Transfer Protocol) is the name of the protocol under which the email software transmits outgoing emails. When an email is sent using Sage 50, it uses the SMTP server of your mail provider to send that email.
In case Sage 50 is not connected to the SMTP server, the software displays the following message:
An unknown error has occurred in connection to the SMTP server.
Unknown error is merely a term used to define the fact that Sage 50 does not know exactly why the connection was unsuccessful. Nevertheless, the reason is nearly always among the few persistent issues, like erroneous settings, authentication issues, or unavailable network connectivity.
This guide explains the causes and fixes for this Sage 50 email error. You’ll also find out when to contact Sage 50 Support experts at AccountsPro for quick remote help.
We will consider the most frequent causes that Sage 50 will fail to connect to the SMTP server.
In case you have entered a wrong SMTP server name, port number, and/or type of encryption, you will not be able to send your emails with Sage 50. Here, an example is Gmail, where smtp.gmail.com is used with port 465 (SSL) or port 587 (TLS). In case you enter the incorrect port or forget to make an encryption, Sage 50 will not connect. Review your settings with your email company. Any little typing mistake or an old-fashioned background can cause this error. Learn more about Sage 50 email settings setup to ensure your SMTP configuration is correct.
If you have recently changed your email password or activated two-factor authentication (2FA), Sage 50 may be attempting to use your previous password to log in. Once that occurs, the connection will be rejected by the SMTP server, and Sage will display the message of the unknown error. Always ensure that Sage 50 is updated with the latest email logins.
Basic authentication has been switched off by some email services, notably by Microsoft 365 and Exchange Online, due to security risks. This is to say that older applications, such as Sage 50 cannot use the login to send email messages unless SMTP authentication (SMTP AUTH) is enabled. This is an option that you or your IT manager can verify in your Microsoft 365 administrator. When SMTP AUTH is turned off, Sage will not be able to send the emails.
Security software can be used to prevent Sage 50 from connecting to the SMTP server, such as firewalls, antivirus software, or even Windows Defender. As an illustration, the firewall may prevent the program from using port 587 or 465, which are necessary for sending emails. In case you suspect this, then first of all, when testing, disable your firewall or your antivirus (only temporarily, do not worry) and again attempt to send an email. Assuming it is successful, you should know that the firewall should be adjusted to permit Sage 50.
Email errors can also be due to compatibility problems when using Microsoft Outlook with Sage 50. Certain editions of either Outlook or Windows do not fit well with older versions of Sage. Ensure that you are using a version of Sage 50 that is compatible with your version of Outlook. The possibility of running both as an administrator may also help avoid permission-related errors.
Related topic: Sage 50 Outlook integration error fix
The issue is not always with Sage 50. In the event that you have a shaky internet connection or the SMTP server of your email provider is temporarily unavailable, the software will fail to connect. You can test this by attempting to send an email to yourself with your standard email program. And then even that fails, the problem is with the email server, and not with Sage.
After understanding the causes, we should go through the exact steps to resolve them. Conduct these in order.
Refer to our step-by-step guide on Sage 50 SMTP settings.
In case of the failure of the test email, proceed to the following steps.
In case you have recently changed your email password, it will have to be re-typed in Sage 50.
Moreover, when your e-mail service is equipped with a two-factor authentication option, you may receive a notification to create an app password that can be used only with Sage 50.
By way of illustration, people who use Gmail can set up an app password in their Google Account settings. Insert that password instead of the current one in Sage 50.
In case you are using Microsoft 365 or Exchange, ensure that the mailbox has SMTP AUTH.
In other cases, Sage 50 lacks the permissions to access both Outlook and the internet. Executing it in the persona of an administrator corrects that.
In case Sage 50 still fails to connect, then there is the possibility that your firewall or antivirus software is blocking it.
Sometimes the mistake made will be due to a corrupted or tailor-made layout (invoice, statement, etc.) within Sage 50. To test this:
Your own layout might be the issue, in case it works. You need to re-create it or revert to a standard version.
The Sage 50 Email Writer is a minor aspect that assists the software in sending emails. You might experience SMTP errors in case it is damaged or old. To fix it:
When all the steps are not working, then one should seek the assistance of Sage technical support or your IT administrator. Provide them with:
After you troubleshoot the problem, you will not want to be reminded of it. The following are some of the best practices to ensure that your email is compatible with Sage 50:
Learn how to maintain your Sage system and prevent sync issues with the Sage 50 upgrade issues guide.
Conclusion
Directly invoicing and statements in Sage 50 saves time and keeps your records in order, but only when things run smoothly. The SMTP error of connection is frustratingly simple and is nearly always fixable with some careful checks. To maintain the flow of email messages, it is important to ensure that Sage 50 has the most recent email credentials, software, and security settings. In case you experience any issues with all of the above, there is no need to panic; feel free to contact Sage 50 technical support or consult your IT professional. They can identify certain problems in configuration that would otherwise go undetected through the user interface.
This error usually occurs due to incorrect SMTP settings, outdated Outlook integration, or antivirus/firewall restrictions.
Not always. In a multi-user environment, the problem may only be encountered in a single workstation, and other users can still send emails as usual. This implies that the issue is the local machine configuration, i.e., wrong Outlook settings, antivirus limitations, or Windows security permissions. When all users are affected by the same issue, then it is likely that there is some problem with configuration on a network-wide or server-level.
There are some rare instances where the SMTP is faulty, and such situations may be detected by:
Yes, upon changing your email password or using two-factor authentication (2FA), the saved credentials of Sage 50 will be invalid. The Sage 50 does not require verification codes in any way, so instead, you will have to create an application-specific password under the security settings of your email provider. Enter this app password in place of the old password in the email configuration of Sage 50 to regain connectivity.
To perform a full reset:
Yes, Sage also issues updates and patches to keep up with new email security standards, in particular the standards that Microsoft and Google have introduced. Go to the Sage 50 Accounts Updates page or check for Updates in the Sage software. The automatic update to the latest version usually fixes the SMTP and MAPI-related problems.
AccountsPro’s certified technicians can remotely diagnose the SMTP connection issue, configure email settings, and restore normal email functionality.
Get in Touch with Certified ProAdvisors