Hello @Shubham_Bidwai
Here you are creating a CSV file and trying to attach it in SMTP activity. As per the error the file name is empty.
Set a breakpoint in the SMTP activity and run in debug mode. Check whether the csv file is getting created before to the SMTP activity.
Thanks