I have records in a file with name,SSO,openitems,manageremail with | delimited file.Now i want to group the records by SSO and openitems and send email to their manageremail.
currently i am reading line by line from the file and sending 5 emails to their managers . but i want to group by SSO and openitems and redirect to sample.csv, attach the same file and send mail to his manager(i.e 4 th column).Please let me know how can i achieve this.