send mail task

  • I have 4 data flow and I linked all four of those to send mail task. I want to send mail task if all the data loaded .

    But whats happening if one of the data flow fails its still sending sucessful mail. How can I stop doing that?

    Also how can i attched name of file which was loaded in email.

    Thanks

  • hey,

    Send mail is really easy conceptually.

    First things first, add a precedence constraint and change this to on success. This will ensure that your mail is only sent if the tasks are successful.

    Now for the attachments bit, under the mail section, add your attachment.

    The coolest thing about the send mail is that if you combine it with SSIS Configurations, it becomes mighty portable...

    ~PD

  • Only on success add the send email task

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

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