If the web app and the mailer are hosted on different domains, the external web server must allow requests from the web app’s domain. To do this, set up the appropriate CORS authorisation.
Important:
- Only authorise the domains of the web app that are actually in use.
- Do not use a general share for any domains.
- Allow the POST requests required for the transmission.
- Make sure that any required OPTIONS requests are answered.
- Check whether a firewall, hosting protection or security modules are blocking the request.
The specific configuration depends on the version of the web server and mailer being used. The permitted domains are defined in accordance with the configuration of the mailer template provided.
Once you have set it up, check that the communication is working by making a test booking.