I want to send an email when error records are logged into the "Errorlog" table along with the results from the table query.
Example: Say 3 records from Student table were sent into the Errorlog table, The Email should be like: "The file was not processed because StudentID: 6,8,45 with StudentName: x, y, z do not exist in the database". I have tried different links to fix this but still I have been having issues.
For this Link: How to send the records from a table in an e-mail body using SSIS package? I was having issue in the script task. Something with the "EmailMessage" variable i guess(not sure).
Any other simpler approach on this also helps. Please help me on this issue. Thanks