DEPRECATED: Starting with SSIS+ 1.9, the .NET scripts are no longer maintained. Use the provided JavaScript alternative scripts instead.
Average: 3.3 (189 votes)


Script task to send email thru SMTP server.


The script has the following parameters:

  • Authentication with Username and Password
  • Support of standard SMTP connection for connection to the server
  • Validation of specified parameters.
  • Support for rich HTML message body.
  • Support for attachments.

11-19-2008 Update: Included support for HTML message.
03-22-2010 Update: Included support for attachments.


Depends on System.Net.Mail.SmtpClient for SMTP operations.
Depends on COZYROC Script Task Plus for implementing parameters user interface.

Library references

  • System
  • System.Data
  • Microsoft.SqlServer.ScriptTask
  • Microsoft.SqlServer.ManagedDTS
  • CozyRoc.SSISPlus
  • System.Drawing