SSIS : Send Mail Task Error: File doesn't exist or you don't have permission.
Posted on 2016-07-26
I was trying to attach LOG files in send mail task. I have multiple log files to attach. When I use direct path to attach file, It works but when I use variable, it's giving me error. I am using following expression with user variable. I also set Delay Validation = True.
@Log_File_Attachment: "\\\\ServerName\\Drive$\\Folder 1\\Folder 2\\Folder 3\\*.log"
Please correct me where I am mistaking.