PMS emails can be designed with html and/or text to be sent as multi-part emails:
The configuration has to be done for the respective letter in the Report builder entry. If the notes field (Detail 2) is filled without any separators, it is treated like a textmail (standard). Now, the field can be split in parts, separated by "#section:....". For the body, the following sections are relevant:
• #section:textmail (standard setting)
This can be used for some standard mail text, with optional replacements (see below)
• #section:htmlmail
This part is for an html code, in case an email with html layout is sent to the guest. Replacements can be used here, too.
• #section:textblock
The idea of this one is to make the email body more flexible, this part can be used for both the text and html mail with the placeholder <textblock>.
In all cases, following placeholder can be used to insert data from the reservation:
•<salutation> (main guest or contact if exists)
•<lastname> (group name or individual guest lastname)
•<name2> (group name or individual guest first+lastname)
•<name3> (contact for groups, otherwise empty - main guest or contact if exists)
•<beds>
•<number>
•<addr2> (from s_firm)
•<arrival>
•<departure>
•<user> (username)
•<hostel_name> (name of the hotel/hostel)
•<reference> (if match2 exists : reg/MMYY/firm (match2) , else reg/MMYY/firm)
•<match2>
•<due_date> (due date for final payment - pinad3d)
•<amount_due> (total remaining balance - pinad3)
•<total_paid> (total payments received - pinad)
•<deposit_amount> (deposit amount - pinad1)
•<deposit_due_date> (due date for deposit - pinad1d)