Skip to main content

Prepare the production Mailer file

The standard online booking scenario provides two technical templates in the Online Booking/mailer folder to facilitate the set-up of the email import:

  1. mailer.php receives the data transmitted by the web app and sends the import email and a brief notification of receipt to the customer.
  2. mailer.css contains the styling for the email content being sent.

However, the files  are NOT intended for use as a permanently managed customer installation, as they will be overwritten during a scenario update. They may be adopted or replaced with your own compatible implementation.

Copy the template files before making any changes and edit only the production copy. Use a different file name or a separate folder for the production installation, for example:

Online-Buchung/mailer/customer-mailer.php
Online-Buchung/mailer/customer-mailer.php

Alternatively, you can use a fully customised, compatible email client solution. In particular, a custom implementation must:

  • accept the data transmitted by the web app
  •  generate an import email in the expected format,
  • specify the import job WebApp_Online-Buchung_Import_00_Transaktion,
  • transmit the data required for the import without any changes,
  • send the brief confirmation of receipt to the customer.