SmartConnect Setup for Office 365 E-Mail with TLS

Recently we have encountered multiple customers who have TLS turned on for communication with their Office 365 Email system instead of SSL. This in turn prevents their SmartConnect system from sending emails on map tasks.

Just in case you are not aware of the ability to send emails within SmartConnect, click here for a refresher on setting one up.

Standard SmartConnect Setup

When setting up Office 365 email within SmartConnect, we would enter the standard email server and port plus the SSL option. Then enter a valid email address and password.

Go to Setup->Setup->E-Mail Settings

This linked article has more explanation about setting up the email and an email task.

Using TLS

When setting up Office 365 E-Mail for TLS, an error will be received in SmartConnect unless we change the settings. Per the Microsoft Documentation there are a couple of options that can be used. Option 1 in the document is really the standard setup for connecting to the Office 365 email server, as previously noted.

To make SmartConnect work with the TLS configuration, we need to use the Direct Send option, which is option 2 in the Microsoft documentation.

The main drawback of this option is the emails cannot be sent to a user outside of the organization from SmartConnect. This does not affect your standard email client system, only SmartConnect itself. There is no workaround for this other than to remove the TLS requirement.

There are three values that need to be changed within the SmartConnect E-Mail Setup:
  1. The SMTP Server value will be the MX Record from the Microsoft 365 Admin center. i.e.
    1. The MX record will have a Points to address or value that looks like
  2. Uncheck the Use SSL Option.
  3. Change the port to 25.

The Email Settings window will now be like the following.

If you have anymore questions, you can email us at


Global Variables in
Excel data sources work intermittently or give blank error message.
How to set up automatic payments on eOne's website portal
"Info 1625. This installation is forbidden by system policy", when attempting to install the SmartConnect Excel Add-In
Salesforce Objects or fields are not available in SmartConnect


SSL Security error using OLEDB Connection
Removed Part: /xl/vbaProject.bin part. (Visual Basic for Applications (VBA))
The server process could not be started because the configured identity is incorrect.
Using WINSCP and a task to upload or download files from an SFTP site
Shortcuts Template for Extender



open all | close all


Business Central CRM Dynamics 365 dynamics crm Dynamics GP Dynamics NAV Econnect Employee Spotlight eone eOne News error Error Message Events Excel Excel Report Builder Extender Flexicoder GP GPUG integration Meet the Team Microsoft dynamics crm Microsoft Dynamics GP Navigation List Builder Office Relationships partners Popdock release Reporting SalesForce scripting SmartConnect SmartConnect Bootcamp SmartConnect Office Hours SmartList SmartList Builder SmartView SQL Support Tech Tuesday Templates training Zendesk

Integrate & Automate without Any Code.

SmartList Data has Never Been Faster.

The Easiest Way to Report on GP Data.