Udostępnij za pośrednictwem


SMTP Connection Manager

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.

Configuration the SMTP Connection Manager

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.

    Ważna informacjaWażne:

    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.

For information about configuring a connection manager programmatically, see ConnectionManager and Adding Connections to a Package.

Ikona usług Integration Services (mała) Stay Up to Date with Integration Services

For the latest downloads, articles, samples, and videos from Microsoft, as well as selected solutions from the community, visit the Integration Services page on MSDN:


For automatic notification of these updates, subscribe to the RSS feeds available on the page.