Send mail with resultset using script task

  • Using Script task i have to send data records. I am aware of send mail via script, need help on passing the recordset as object to send mail function.

    If data is found in error table for a query,Get set of records from table.

    Send mail to user with the error records row using script component.

    My scenario is as below,

    If SourceRowCount = DestinationRowCount then

    send success mail.

    else

    send failure mail with the data in the error table as attachment

  • Is there a reason why it has to be in script task? I use Execute SQL task to pull select validation records from a table and email that.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply