---
title: Auto Emailing of Reports
description: How to configure Auto Emailing of reports after night audit
---

[Skip to content](https://kb.prologicfirst.online/articles/pos-reports-autofire#main-content)

![logo.png\]](https://kb.prologicfirst.online/hs-fs/hubfs/Imported%20sitepage%20images/logo.png?height=40&name=logo.png)

- [Sign out](https://support.prologicfirst.online/_hcms/mem/login?redirect_url=https%3A%2F%2Fsupport.prologicfirst.online%2Fcustomer-portal)
- [About us](https://www.prologicfirst.com/aboutus.html)

Open main navigation

Close main navigation

- [Sign out](https://support.prologicfirst.online/_hcms/mem/login?redirect_url=https%3A%2F%2Fsupport.prologicfirst.online%2Fcustomer-portal)
- [About us](https://www.prologicfirst.com/aboutus.html)
- [Go to www.prologicfirst.com](https://www.prologicfirst.com/)

[Go to www.prologicfirst.com](https://www.prologicfirst.com/)

 Hello. How can we help you?

- There are no suggestions because the search field is empty.

1. [Prologic First Knowledge base](https://kb.prologicfirst.online/articles?hsLang=en)
2. [Touché POS](https://kb.prologicfirst.online/articles/touch%C3%A9-pos?hsLang=en)
3. [Reporting](https://kb.prologicfirst.online/articles/touch%C3%A9-pos?hsLang=en#reporting)

# Auto Emailing of Reports

## How to configure Auto Emailing of reports after night audit

Prerequisites:

- SMTP credentials
- **autofire** and **prnrep1**
- Email IDs of recipients
- Names of those reports to be sent
- Access to night audit machine
- WISH Cryptography with sample XML

#### 1. Setup of SMTP

1.1 In the code snippet below, replace the details in bold with the SMTP credentials provided and save it as an XML file.

```
<?xml version="1.0" standalone="yes"?><SMTP>  <Default>    <MAILSERVER>testing.server.com</MAILSERVER>    <PORT>1234</PORT>    <AUTHENTICATION>Y</AUTHENTICATION>    <SENDEREMAIL>info@testcompany.com</SENDEREMAIL>    <USERID>info@testcompany.com</USERID>    <PASSWORD>TestPass</PASSWORD>    <ENABLESSL>Y</ENABLESSL>  </Default></SMTP>
```

1.2 Using **WISHCryptography**, encrypt the file and set the name of new file as **SMPT.XML**

Kindly contact our support to have this step done

1.3 Paste the file inside **system** folder, found in Touche's **Frontend**

#### 2. Setup of emailing information

2.1 In **Frontend**-\>**cli**, open **Sample\_Autofire**, where you will be shown a sample format for the mailing setup and the usage of the same. However, below data is important to ensure the functionality criteria's are met:

- 07: Setup the path to a Temp folder to generate the pdf files
- 20: Setup the recipient email IDs , separated by ';' (Can be edited anytime)
- 25: Setup the Email Subject
- 26: Setup the Email content

![](https://kb.prologicfirst.online/hs-fs/hubfs/image-png-Feb-19-2025-02-56-40-9672-PM.png?width=950&height=898&name=image-png-Feb-19-2025-02-56-40-9672-PM.png)2.2 Save the file and rename it to **autofire**

2.3 In **Frontend**, run **Autofire.exe** to test the functionality of the setup and verify that it is working.

2.4 Once done, make a copy of **autofire** and rename it to **prnrep1**

2.5 In **ToucheMasters/Configurations**, go to **Night Audit Processes** and unfreeze the process **Print Reports**

2.6 The reports will now be send automatically everyday on Night Audit

- [Touché POS](https://kb.prologicfirst.online/articles/touch%C3%A9-pos?hsLang=en#main-content)

    - [POS Operations Training](https://kb.prologicfirst.online/articles/touch%C3%A9-pos?hsLang=en#pos-operations-training)
    - [Reporting](https://kb.prologicfirst.online/articles/touch%C3%A9-pos?hsLang=en#reporting)
    - [Configurations - Items/Menu/Discounts Management](https://kb.prologicfirst.online/articles/touch%C3%A9-pos?hsLang=en#configurations-items-menu-discounts-management)
    - [Configurations - Revenue and Departments](https://kb.prologicfirst.online/articles/touch%C3%A9-pos?hsLang=en#configurations-revenue-and-departments)
    - [Configurations - POS, Printers and Users Setup](https://kb.prologicfirst.online/articles/touch%C3%A9-pos?hsLang=en#configurations-pos-printers-and-users-setup)
    - [Integrations](https://kb.prologicfirst.online/articles/touch%C3%A9-pos?hsLang=en#integrations)
- [WISH PMS](https://kb.prologicfirst.online/articles/wish-pms?hsLang=en#main-content)

    - [MyCloud](https://kb.prologicfirst.online/articles/wish-pms?hsLang=en#mycloud)
    - [Reservations](https://kb.prologicfirst.online/articles/wish-pms?hsLang=en#reservations)
    - [System Admin Module](https://kb.prologicfirst.online/articles/wish-pms?hsLang=en#system-admin-module)
    - [Front Office PMS](https://kb.prologicfirst.online/articles/wish-pms?hsLang=en#front-office-pms)
- [Web Prol'IFIC](https://kb.prologicfirst.online/articles/web-prolific?hsLang=en#main-content)

    - [Accounts Payable](https://kb.prologicfirst.online/articles/web-prolific?hsLang=en#accounts-payable)
    - [Inventory](https://kb.prologicfirst.online/articles/web-prolific?hsLang=en#inventory)
    - [System Admin](https://kb.prologicfirst.online/articles/web-prolific?hsLang=en#system-admin)
    - [General Cashier](https://kb.prologicfirst.online/articles/web-prolific?hsLang=en#general-cashier)
    - [FNB Cost Control](https://kb.prologicfirst.online/articles/web-prolific?hsLang=en#fnb-cost-control)
- [@Your WISH](https://kb.prologicfirst.online/articles/your-wish?hsLang=en#main-content)

    - [@Your WISH](https://kb.prologicfirst.online/articles/your-wish?hsLang=en#your-wish)
- [SmartTEL](https://kb.prologicfirst.online/articles/smarttel?hsLang=en)
- [Web PayTRAX](https://kb.prologicfirst.online/articles/web-paytrax?hsLang=en#main-content)

    - [FAQ's](https://kb.prologicfirst.online/articles/web-paytrax?hsLang=en#faqs)
    - [Personnel](https://kb.prologicfirst.online/articles/web-paytrax?hsLang=en#personnel)
    - [Payroll](https://kb.prologicfirst.online/articles/web-paytrax?hsLang=en#payroll)
    - [Self Service](https://kb.prologicfirst.online/articles/web-paytrax?hsLang=en#self-service)
    - [Attendance (2)](https://kb.prologicfirst.online/articles/web-paytrax?hsLang=en#attendance-2)
- [Touche ENC](https://kb.prologicfirst.online/articles/touche-enc?hsLang=en#main-content)

    - [Touche ENC](https://kb.prologicfirst.online/articles/touche-enc?hsLang=en#touche-enc)

# Prologic First Software

www.prologicfirst.com Help Center

Copyright © 2025, Prologic First Software