Gathering a list of variables
Hello AllI'm working on a script this morning to go through each Supervisor's employees, calculate the time they entered for the week and send that supervisor an email with the employee's name and their hours. I could send a separate email for each employee but one email per Supervisor is better.
my variables would simply be $employee and $hours
As I go through each employee record and hours what's the proper way to gather those variables into a list then when the email is created drop that list into the body of the email.