I have to send fails to mail before sending have to checking file size

I have to send fails to mail before sending have to checking file size

Condition:
If I have three files in download folder then check all files size …if less than 25MB then send all files into only one mail

if 25MB then send two times to same mail

Thanks
Shaik

Hi @shaik.muktharvalli1
This will get all information related to file.
new System.IO.FileInfo("your file path ")

Refer this - It would help !!

please expand below send mail work flow for logic how to send two mails for those fails

thanks
shaik

Could you please elaborate on what you have to send in email