For every booking action a notification mail will be sent to the author, user groups and the attendee. In DPCalendar it is possible to define what should be sent together with the various mails and which text. There are settings available in the DPCalendar options where you can control all of that in an easy way. For example you can control which attachments should be sent out and the content of the mails. The mails are generated with mail templates, to have them available in every language. These mails can be configured in the Joomla "Mail templates" configuration.
We are using the mustache templating system to inject and render variables in the language strings. Means you can use a variable like {{bookingUid}} in the string and it will be replaced with the real value. More information can be found in the Output rendering article. For every mail template below are the following variables available:
After a booking is created a confirmation mail is sent out to the attendee. The subject and mail body is compiled of the mail template with the id "com_dpcalendar.booking.user.new". While there is a setting in the DPCalendar options to edit the body trough a wisywig editor. But then it is not possible anymore to use a different text for users with different languages. Every user will get the mail in the same language.
Additionally an ics file is sent as attachment which can be imported in any calendar application. For example GMail has a feature to directly import the event into Google calendar. The tickets as PDF files are also sent as attachments when enabled in the DPCalendar options.
After a booking is payed a confirmation mail is sent out to the attendee. The subject and mail body is compiled of the mail template with the id "com_dpcalendar.booking.user.pay". While there is a setting in the DPCalendar options to edit the body trough a Wisywig editor. But then it is not possible anymore to use a different text for users with different languages. Every user will get the mail in the same language.
Additionally the invoice file as PDF is sent as attachment. It can be used as confirmation for the accountant or to be printed out for further reference.
In the DPCalendar options the site admin can define which user groups should get a notification when a booking is created/changed/deleted. The subject and mail body is compiled of the mail template with the id "com_dpcalendar.booking.new/edit/delete". More information can be found in the article Notifications If enabled in the DPCalendar options, then the author of the event will also get a notification mail.
When an invitation is sent out a mail is generated. The subject and mail body is compiled of the mail template with the id "com_dpcalendar.booking.user.invite". There are various parameters available. The most important ones are the acceptUrl and declineUrl which do contain an url to accept the booking or decline it.
When a booking is added to the waiting list a mail is sent out. The subject and mail body is compiled of the mail template with the id "com_dpcalendar.booking.user.wait".
Comments (0)