Quantcast
Channel: Questions in topic: "ssis"
Viewing all articles
Browse latest Browse all 813

SSIS to copy multiples files and send only one email

$
0
0
I am trying to copy today’s files (multiple files) from one folder to another folder and just send one email after successful copying. First I am checking a table for error and if there are no errors then send the files. I also want to send email if it doesn’t copy files because of error. I am using foreach loop container to copy files but when I use send mail task inside the loop, it sends me email for every files that are on the source directory. Everything is working fine except for the email. Could anyone help me with this? Where should I put the send email task? I need to send only one email for success or failure of copying files. ![alt text][1] [1]: /storage/temp/498-ssis.jpg

Viewing all articles
Browse latest Browse all 813

Trending Articles