Sending reports by e-mail based on a query

Smtgr14

New member
Local time
Today, 01:28
Joined
Jan 15, 2015
Messages
7
I am trying to send a report to a list of employees.
I have a query that generates the report into the layout I want and includes the e-mail address of who the recipient should be.
The report looks something like this:
--Employee Name--
--E-mail address---
-Hire Date----Tenure-
-Attendance-
-Quality Score-
...etc...

I need to send, for each row in the query, this report based on the results of that particular row.
How would I go about making a e-mail template that would be used, or at least sending the report as a PDF attachment? I've seen the sendObject method, but I cannot seem to wrap my head around it.
 

Users who are viewing this thread

Back
Top Bottom