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 2005 Integration Services (SSIS) includes uses an 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 whether to use Windows Authentication to authenticate access to the server.
- Specify whether to encrypt communication using Secure Sockets Layer (SSL) when sending e-mail messages.
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.
Configuring the SMTP Connection Manager
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.