NOTE: Reports can only be emailed in batches. A report Email batch may contain one or more reports.
Report Email Batches may be created from the Report Manager (Reporting>Reports) OR the Report Distribution Manager (Reporting>Report Distribution). The procedure is the same:
1. From the Report [Distribution] Manager right-click on the Report Email Batches folder.
2. Click the New option from the popup menu. The Create Report Email Batch window will open. 
3. Under the General tab, enter a Code and Display name to identify the Report Email Batch being created.
4. Click the Output tab and click the Type: drop-down box to select the Type of file desired for the Report Email Attachment.
Then click OK.
To add reports to the batch:

The Copy window will open, and a list of existing Report Batches will be displayed in the navigation pane of the window.

After Reports have been copied to a specific Report Batch, their filter settings can be customized for that specific batch.
To customize report filters for a report in a Report Batch:
The Report Distribution Manager facilitates automated distribution of Report Batches via Email. A predefined set of reports can be forwarded to any number of Email recipients automatically. An Email Wizard (accessible via a button icon from the Report Distribution Manager) provides a user-friendly interface for scheduling batch delivery.
NOTE: Beginning with EnergyCAP Release 6.0, the Report Distribution Manager functionality was enabled for web reports as well as LAN reports.
This is the process in a nutshell:
NOTES:
To navigate to the Report Distribution Manager:

NOTE: As part of the process for scheduling delivery of Report Email Batches, ask your system administrator to set up the rpttsk.exe file to run as a Windows scheduled task.
After an Email batch has been created, delivery can be scheduled using the Report Email Wizard. To run the Wizard:
1. Navigate to the Report Distribution Manager in EnergyCAP (Reporting>Report Distribution).
2. Select a Report Email Batch from the Report Email Batches navigation tree.
3. Click the Email Wizard button.This will open the Report Email Setup Wizard window.


To email a Report Email Batch immediately:
The report Email batch will be Emailed the next time the external “report task” program runs.
NOTE: The Email column of the wizard contains an asterisk when the report is in the queue to be Emailed (see below).
To temporarily put a report batch ‘on hold’ to suspend delivery:
NOTE: The Hold applies to a Distribution List; if multiple delivery frequencies are selected for the same list in the same batch, the Hold will affect all deliveries.
It is possible to:
To remove one contact from the List:
To remove all contacts from a Distribution List:
To edit the properties of a Distribution List Contact:
To view the reports for a Distribution List Contact:


Report Batches can be e-mailed using Distribution Lists created in the EnergyCAP Distribution Manager. Two types of recipients can be added to Distribution Lists:

NOTE: Only ‘People’ Contacts (Setup>Contacts>People tab) with a Business Email address configured will be shown in the Add a Contact … window. Vendor and Customer e-mails will not appear in the list.


Create a .csv-format import file with the recipient information, as follows:
The file must consist of five columns with no header row

SAMPLE .CSV FILE FORMAT FOR EMAIL RECIPIENT IMPORT FILE
NOTES: Columns 4 and 5 may be left blank to grant the recipient all permissions. If column 4 or column 5 is left blank, the recipient will be granted permission to view information from the respective Topmost Cost Center/Place in the organization.
Once the file has been created, import the recipient(s) to the Distribution List as follows:
NOTE: There are two ways that EnergyCAP handles the import of a recipient that already exists in the Distribution List:
Rpttsk.exe is a separate software application that is maintained in the EnergyCAP installation folder. It has its own software interface, but can also be executed via a DOS command line. When being used with Report Email Batches, it is typically run as a Windows scheduled task (see Windows documentation for more information on setting up Scheduled Tasks).

NOTES:
Once configuration information has been saved, saved settings for rpttsk.exe will be automatically used by a windows scheduled task when using the following command:
rpttsk -a
To override the saved settings, specific command line settings can be used. Click the Command Line Settings button from the Report Emailer Setup and Testing window for more information.
The DataBase name needs to match the ODBC setting in EnergyCAP.
Click the Command Line Settings button to open the Usage window with current information regarding rpttsk switches.

Organizations managing multiple EnergyCAP databases will find it helpful to set up a batch file with separate lines in the query for each managed datasource. An example batch file format is included below:
NOTES: This batch file needs to be edited before using. Replace CAPS variables with YOUR ACTUAL VALUES. Each line pertains to one database. The -a switch at the end will run the Report Distribution manager for all distribution lists in that database.
This file should either be executed from the EnergyCAP installation folder, OR EnergyCAP's rpttsk should be in your system's PATH variable.
rpttsk.exe -u USER -p PASSWORD -d ODBC_DATASOURCE_NAME_DB1 -a
rpttsk.exe -u USER -p PASSWORD -d ODBC_DATASOURCE_NAME_DB2 -a
rpttsk.exe -u USER -p PASSWORD -d ODBC_DATASOURCE_NAME_DB3 -a
rpttsk.exe -u USER -p PASSWORD -d ODBC_DATASOURCE_NAME_DB4 -a
rpttsk.exe -u USER -p PASSWORD -d ODBC_DATASOURCE_NAME_DB5 -a