We help IT Professionals succeed at work.

Attach SSIS csv file to email notification

rwheeler23
rwheeler23 asked
on
137 Views
Last Modified: 2018-08-31
Is it possible to attach a file with the email notification of an SSIS job being completed? I have several SSIS job that run in the morning and produce csv files. For one of the jobs the client not only want email notification of completion but wants the csv file attached to the email. Is this possible? I already have the email notification set up but how do you attach the file?
Comment
Watch Question

Vikas GargAssociate Principal Engineer
CERTIFIED EXPERT
Top Expert 2014

Commented:
Hello,

You can use the attachment property of the SendMail task to attach the CSV file which is been generated from one of your intermediate steps.

With use of expression you can dynamically define the attachment path which would attach it and while sending email that will be sent.

Hope this would help you.

Regards
SQL SERVER EXPERT
CERTIFIED EXPERT
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
rwheeler23President

Author

Commented:
Thanks