SMTP Connection Manager
Applies To: SQL Server 2016
An SMTP connection manager enables a package to connect to a Simple Mail Transfer Protocol (SMTP) server. The Send Mail task that Microsoft SQL Server Integration Services includes uses an SMTP connection manager.
When using Microsoft Exchange as the SMTP server, you may need to configure the SMTP connection manager to use Windows Authentication. Exchange servers may be configured to not allow unauthenticated SMTP connections.
When you add an SMTP connection manager to a package, Integration Services creates a connection manager that will resolve to an SMTP connection at run time, sets the connection manager properties, and adds the connection manager to the Connections collection on the package. The ConnectionManagerType property of the connection manager is set to SMTP.
You can configure an SMTP connection manager in the following ways:
Provide a connection string.
Specify the name of an SMTP server.
Specify the authentication method to use.
The SMTP connection manager supports only anonymous authentication and Windows Authentication. It does not support basic authentication.
Specify whether to encrypt communication using Secure Sockets Layer (SSL) when sending e-mail messages.
You can set properties through SSIS Designer or programmatically.
For more information about the properties that you can set in SSIS Designer, see SMTP Connection Manager Editor.