KingswaySoft's Mail Components, which include the Email Connection Manager, Email Source, Email Destination, SMTP Connection Manager, SMTP Destination, and SMTP Task, play a pivotal role in streamlining and enhancing email capabilities within SSIS projects. Designed to effortlessly connect, read, and send emails from various servers, the Mail Components empower users to optimize their workflows. Similarly, the SMTP Components simplify the process of connecting to SMTP servers and sending emails, providing a seamless integration experience.

Email Components

Effortless Email Integration in SSIS

Email Components

The Email Connection Manager is a key component for streamlining the process of connecting to email servers, ensuring efficient and secure email sending within SSIS. With support for POP3, IMAP, and Exchange Web Services, it offers a straightforward configuration process on two pages: General and Advanced Settings. On the General page, you can configure settings such as server information (Protocol, Host Name, SSL Mode, Port, etc.) and authentication details (Email Address, Password, etc.). The Advanced Settings page allows for proxy server configuration (Proxy Type, Proxy Server, Port) and miscellaneous settings like Timeout and AES algorithm preference.

The Email Source Component in SSIS is designed for receiving emails from a server and outputting them to columns. Configuration involves three key pages: General, Columns, and Error Handling. The General page enables setting up basic parameters such as the connection manager, folder path, and options for processing unread messages. The Columns page provides an overview of output columns, including options to filter, hide, and manage fields. It also allows mapping additional headers to columns through the 'Add Email Headers' dialog. Advanced settings, such as error handling mechanisms, can be configured on the Advanced page with two options available: "Fail on error" or "Log error and attempt to continue execution." Outputs from the Email Source Component include the Primary Output, consisting of columns specified on the Columns page, the Attachment Output for handling attachments, and the Resource Output (since v21.2) for image data in email bodies.

The Email Destination Component simplifies email sending and basic tasks through three configuration pages: General, Columns, and Error Handling. The General page involves selecting an Email connection manager and specifying the desired action, such as sending email or managing messages. The Columns page streamlines the mapping of upstream component columns to Email fields, enhancing the efficiency of the process. The Error Handling page offers three options: "Fail on error," "Redirect rows to error output," and "Ignore error." When opting for the "Redirect rows to error output," failed rows are directed to the 'Error Output' output of the Transformation Component. The 'ErrorMessage' output column in the 'Error Output' contains error messages reported by the server or the component itself.

USE CASE: BI Scenario

For example, a business intelligence team faces the challenge of efficiently extracting and analyzing data from daily email reports received from various departments. The team then adopts the SSIS Email Components to automate the process and enhance overall efficiency. Configured with the Email Connection Manager, it connects securely to the email server and retrieves relevant data from specific folders containing the daily reports. Through its configuration settings, the team can map the extracted columns from email attachments and handle errors seamlessly.

Following the extraction, the team leverages SSIS transformation components to clean, transform, and aggregate the data, preparing it for meaningful analysis. This step ensures that the information extracted from email attachments aligns with the business intelligence requirements. To complete the workflow, the Email Destination Component is employed for sending summary reports or notifications based on the analysis results. The team configures the component to connect to the email server securely and map relevant columns from the transformed data to email fields. Error handling settings are utilized to manage any issues encountered during the email sending process.

SMTP Components

Securing Data with Precision

SMTP Components

The SMTP Connection Manager facilitates connections to SMTP servers for email sending. The configuration involves two main pages: General and Authentication. On the General page, essential settings like the SMTP server URL, port number, and SSL encryption preference are specified. Additional settings include the option to set a timeout value for the connection. The Authentication page offers authentication mode options: None, Basic, and OAuth 2.

The SMTP Destination Component facilitates email sending using column data, with three configuration pages: General, Attachments, and Error Handling. On the General page, map input columns for sender, recipient, subject, body, and additional attributes like priority. The Attachments page allows configuring attachments by mapping input columns to attachment details. The Error Handling page offers three options: "Fail on error," "Redirect rows to error output," and "Ignore error." When opting for "Redirect rows to error output," failed rows go to the 'Error Output,' with the green connection representing successful ones and the red 'Error Output' connection handling erroneous rows. The 'ErrorMessage' column may contain error messages reported by the server or the component.

The SMTP Task facilitates email sending and comprises four configuration pages: General, Content, Attachments, and Error Handling. On the General page, settings include choosing an SMTP connection manager and specifying sender and recipient details. The Content page focuses on email content, covering subject, priority, encoding, body, and HTML rendering. In the Attachments section, configure attachment settings, specifying the attachment name and path. Note that, from v23.1 onwards, the path can be a local file system or a URL without authentication. The Error Handling page offers a single option, "Continue On Error." When set to true, the task issues a warning but allows package execution to resume despite errors.

USE CASE: Retail Company

For example, a retail company might want to automate thank-you emails for customers after a purchase. You'd use the SMTP Connection Manager to connect to your email server, configuring details like server URL and authentication. The SMTP Destination Component maps sender, recipient, subject, and body using data columns. Error handling ensures you log issues if emails fail. The SMTP Task orchestrates the process, specifying connection details, sender, recipient, email content, and attachment settings. The "Continue On Error" option allows the workflow to proceed even if some emails encounter issues. This way, retail companies can efficiently automate personalized customer emails using the SMTP components.


In conclusion, KingswaySoft's Mail Components for SQL Server Integration Services (SSIS) provide a comprehensive suite of tools for seamless email integration within data workflows. For example, the Email Source Component can fetch new customer data from incoming emails, the Email Destination Component can then update the SQL database with this information, and the SMTP Task can automatically send notifications or reports to relevant stakeholders, ensuring efficient communication and data synchronization. This integrated approach enhances data management and communication within the organization.

Consisting of the Email Connection Manager, Email Source, Email Destination, SMTP Connection Manager, SMTP Destination, and SMTP Task, these components empower users to effortlessly connect, read, and send emails through SSIS. Whether extracting data from emails, sending notifications, or updating databases, KingswaySoft's Mail Components offer a robust solution for optimizing communication and data management in diverse business scenarios.

More Productivity and Connectivity ETL Tools

KingswaySoft provides powerful and sophisticated SQL-server-based data integration solutions and productivity tools capable of handling the most complex and demanding integration challenges. Whether you're dealing with data spread across databases, cloud data warehouses, file servers, or various other sources, KingswaySoft's flexible and feature-rich tools empower organizations of all sizes to seamlessly and efficiently unite their diverse datasets. In addition to Conversion Components, developers can leverage a wide array of SSIS components with advanced capabilities such as data transformation, data cleansing, encryption, automation, value mapping, big data integration, and much more, making it easy to transform and normalize data as it is being integrated.

Thousands of enterprise clients from over 100 countries rely on our no-code SSIS Integration solutions to integrate data with various application systems to drive business efficiency and leverage information assets.

To read more about our SSIS data integration solutions click here.

To return to the Industry Analysis Index Page, click here. To return to the Resources Index Page, click here.

About KingswaySoft

KingswaySoft is a leading integration solution provider that offers sophisticated software solutions that make data integration simple and affordable. We have an extreme passion for our software quality and an intense commitment to our client's success. Our development process has always been customer-focused, we have been working very closely with our customers to deliver what benefits them the most. We have also made sure that our support services are always highly responsive so that our customers receive maximum benefit from the use of our products.

Learn more at