System emails
Easy Services Booking sends an email at each step of a booking. You edit their texts in Components > Easy Services Booking > System Emails. Click an email to change its Email Subject and Email Body. When is this email used? describes it.
The emails
| Email tag | Sent to | When |
|---|---|---|
client_validation_email |
Client, or administrator | Client Validation: the link the client clicks. Admin Validation: the link the administrator clicks |
auto_validated_appt_email |
Client | Auto Validation: the booking is confirmed |
admin_validation_pending_email |
Client | Admin Validation: the request is waiting for approval |
admin_validation_confirmed |
Client | A pending booking was confirmed by the client's link or by an administrator |
admin_notification |
Administrator | A booking was confirmed |
admin_payment_confirmed_email |
Administrator | A booking was paid |
client_payment_confirmed_email |
Client | A booking was paid |
reminder_email |
Client | The reminder before the appointment |
survey_email |
Client | The survey request after the appointment |
admin_created_appt |
Client | An administrator created a booking. Needs the Admin Events plugin |
admin_modified_appt |
Client | An administrator changed a booking. Needs the Admin Events plugin |
admin_deleted_appt |
Client | An administrator deleted a booking. Needs the Admin Events plugin |
user_cancelled_appt |
Administrator | A client cancelled a booking. Needs the Admin Events plugin |
"Administrator" means the Notification Email on the Messages Setup tab of the Configuration page, or the site email address when it is empty, plus the Calendar Specific Email of the resource. With BCC Admin set to Yes, the administrator also gets a blind copy of the emails sent to clients by Client Validation and Admin Validation.
user_cancelled_appt always goes to the site email address in System > Global Configuration > Server > Mail.
If you deleted or broke the templates, Tools > Restore System Emails puts the default texts back.
Tags
Put these tags in the subject or body. They are replaced when the email is sent.
| Tag | Replaced by |
|---|---|
|*firstname*|, |*lastname*|, |*email*| ... |
The answer to the custom field with that Variable Name. Every custom field has its own tag |
|*service*| |
The service name |
|*dtstart*| |
The start date and time |
|*calendar_name*| |
The resource name |
|*booking_ref*| |
The booking reference, for example A1B242 |
|*booking_details*| |
The Booking Details template, see below |
|*URL*| |
The validation link, or the survey link in survey_email |
{{id}} |
The booking ID |
{{email}} |
The client's email |
{{dstart}} / {{dtstart}} |
The start date / the start time |
{{service.name}}, {{service.price}}, {{service.duration}} |
Service details |
{{calendar.name}}, {{calendar.email}}, {{calendar.privateinfo}} |
Resource details. privateinfo is the resource's Private Information |
The {{...}} tags work in the body only.
Booking Details template
|*booking_details*| is filled with the Booking Details template on the Advanced Settings tab of the Configuration page. The default is a small table with the date, time, service and booking ID. It accepts the {{...}} tags above, and the labels {{COM_EASYSERVICESBOOKING_SUCCESS_DATE}}, {{COM_EASYSERVICESBOOKING_SUCCESS_TIME}}, {{COM_EASYSERVICESBOOKING_BOOKINGTYPE}} and {{COM_EASYSERVICESBOOKING_BOOKING_ID}}, which follow the client's language.
Admin Events plugin
Easy Services Booking - Admin Events Plugin sends the admin_created_appt, admin_modified_appt and admin_deleted_appt emails to the client and user_cancelled_appt to you. It is installed disabled.
Its settings are Send Email on Create, Send Email on Modification and Send Email on Delete. In 6.2.3 only Send Email on Create is read, and it turns all three client emails on or off together. The user_cancelled_appt email is always sent while the plugin is enabled.
Languages
Email texts follow the language the client booked in. Translate subjects and bodies in Multi Language Support with the override types Message and Subject.