Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

using for each loop to read files in a folder and email the list once

$
0
0

created files and now I need to read the file names in a specific folder, and email certain individuals only once. But the problem is if there are say 8 files in the folder it emails the group 8 times. It should be one email with the 8 file names listed. I have tried using the send mail task both inside and outside the for each loop. When inside the loop it email 8 times. when outside the loop it emails once but only lists one file name.

thanks in advance


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>