Help › Reports by email

Reports by email

PunchPlus Web can email the daily and weekly reports to managers and each employee's punch card to the employee, automatically, once a day or once a week.

PunchPlus Web can send reports by email by itself: the daily report and the weekly report of the branch to the managers and assistant managers, and each employee's own punch card to that employee. Nothing is sent until you set it up: the mail server in Settings, then, in each employee's file, the reports that employee receives.

What is sent, and when

ReportWho can receive itWhenPeriod
Daily report of the branchManagers and assistant managers onlyEvery day, after the time Send atThe day before
Weekly report of the branchManagers and assistant managers onlyOnce a week, on the day Weekly report and punch card onThe 7 days before that day
Own punch cardAny employee with an email addressSame day as the weekly reportThe 7 days before that day

The daily and weekly reports are those of the employee's branch, for every employee and department. The punch card is the employee's own only.

  • Each message is sent once: PunchPlus Web keeps a line for each message and never sends the same one twice.
  • If the weekly sending day was missed (for example the computer was off), the weekly report and the punch cards still leave up to 2 days later.
  • If a message fails, it is tried again 30 minutes later, up to 5 times.

The message

The subject gives the report, the branch (or the employee's name for the punch card) and the dates. The message greets the employee and shows the report itself; the full report is also attached as a page (.html) to open in a browser and print with its Print button. If punches of the period were not calculated yet when the report left, the message says so at the top. Each message is in the Language of the emails of its recipient (in the employee's file), else in the language of Settings.

Important: The reports show the hours as calculated at sending time. Make sure the hours are calculated before the Send at time (for example with the automatic collection and calculation of Settings).

Who makes the messages leave

  • On a store computer where PunchPlus Web is running: it checks about every minute.
  • Online (on the web server): by the cron job of the web server, every 5 minutes (see Set up the cron job on the web server). Without the cron job, no report leaves online.

Set up sending by email

In the menu, click Settings, then go to the panel Reports by email.

FieldWhat it does
Send the reports by email automaticallyTurns the automatic sending on or off.
Send atTime of day after which the reports are sent (07:00 by default).
Weekly report and punch card onDay of the week the weekly reports and punch cards are sent (Sunday by default).
Sender address when the schedule has noneThe address the reports are sent from when the employee's schedule has no sender address.
ServerThe mail server (SMTP), for example mail.yourdomain.com.
SecuritySTARTTLS (port 587), SSL/TLS (port 465) or None (port 25).
PortLeave blank to use the port of the security chosen.
User name and PasswordThe account of the mail server, usually the sending email address and its password. Once saved, the password shows "saved — leave blank to keep".
  1. Fill the fields and click Save.
  2. Type your own address in Test address and click Send a test. The message "Test message sent to ..." confirms that it works; otherwise the error of the mail server is shown.
  3. Tick Send the reports by email automatically and click Save.
Important: The mail server must accept the sender addresses (usually addresses of your own domain, for example the email accounts created in cPanel); otherwise the messages are refused or end up in spam.

The list of messages sent

Under the buttons, a table shows the last messages: Sent (date and time), Report, Period, Recipient, Sender and Status (sent, failed with the reason, or sending).

Send the reports due now

Send the reports due now sends right away the reports of today that were not sent yet, without waiting for the Send at time. It is available when the mail server is set and automatic sending is on.

Choose who receives what

  1. In the menu, click Employees, then the employee.
  2. Type the employee's Email.
  3. In the panel Reports by email, choose the Management role: Employee, Assistant manager or Manager.
  4. Tick the reports: Daily report of the branch and Weekly report of the branch (only for a manager or an assistant manager: for an employee they are greyed out), and Own punch card.
  5. Click Save.

An email address is needed as soon as a report is ticked. The panel reminds you when the reports leave and from which address, and says if sending is not set up yet or turned off in Settings. It also lists the last messages sent to this employee.

Send now

To check, click Send now at the bottom of the employee's file: the latest reports ticked are sent right away (yesterday's daily report, the last complete week for the weekly report and the punch card), even if they were already sent and even if automatic sending is off. The button appears once the employee is saved with an email address and a report ticked, and the mail server is set.

Note: Sending the work schedule to the employee is set in the same file, in the panel Work schedule of the employee. See Sending employees their schedule.

Choose the sender address of each schedule

Each report can leave from the address of the store:

  1. In the menu, click Schedules, then the schedule.
  2. In the section Reports by email, type the Sender email for reports (for example paie@yourdomain.com).
  3. Click Save.

The reports of an employee leave from the address of the employee's schedule; if it has none, from the address of another schedule of the same branch; otherwise from Sender address when the schedule has none in Settings; otherwise from the User name of the mail server.

Set up the cron job on the web server

When PunchPlus Web runs online (on the web server), the reports leave only with the cron job:

  1. In Settings, panel Reports by email, copy the command shown under "add this cron job in cPanel".
  2. In cPanel, open Cron Jobs and add a job Once Per Five Minutes with that command.

The same cron job also sends the work schedules and the alerts by email, imports the watched folders and checks for updates. Details and checks: The cron job of the web server.

See also

This screen for the technical support

Print opens the print window with your default printer already chosen (a browser always asks before printing): choose "Save as PDF" there to get a file instead.

Changes not saved

You changed this record and did not save it.