Email templates are used to standardize the sending of messages in the Sales orders, Purchase orders and Goods receipts modules. They can be configured with automatic fields, which generates an email already filled with the relevant information (customer, document number, dates, etc.). This makes it easier to send, reduces errors and ensures uniform communication.
Each template exists in French and in English. When sending an email, ALIX uses the template in the language of the document: the Language chosen in the PDF view tab of the document or, failing that, the language of the customer or vendor.
To send an email from one of these modules, click the send icon at the top of the document, next to the PDF and print icons.

Here are the different templates per entity:
| Template | Use |
|---|---|
| Sales order | Email template used for sales orders whose document type is Sales order. |
| Quote | Email template used for sales orders whose document type is Quote, to distinguish quotes from sales orders. As long as its Subject and Message are empty, the Sales order template is used instead. |
| Purchase order | Email template used for purchase orders. |
| Goods receipt | Email template used for goods receipts. |
Edit an email template #
You can set up automatic fields in your email templates. For a complete list of available fields and how to use them, see the Field index for email templates page.
- In Settings, go to the Settings section, then Email templates.

- Click the desired template. The template record opens.
- Click Edit in the top right.

- Make your changes, then click Save when you are done.
Set a default sender and copies #
Note: only authenticated addresses are offered in the Default sender, Default Cc and Default Bcc fields. To authenticate an address, see the Enable email sending page.
- Open the desired template, then click Edit in the top right (see the Edit an email template section).
- Select the desired addresses in the following fields, all optional:
- Default sender: the address that fills the From field of the send window.
- Default Cc: one or more addresses that fill the Cc field.
- Default Bcc: one or more addresses that fill the Bcc field.

- Click Save when you are done.
When you open the send window of a document, the From, Cc and Bcc fields are prefilled with the values of the applied template. The Bcc field is shown directly when the template has a Default Bcc. You can change these values before clicking Send.
- The French and English templates of the same entity each have their own default values. The values used are those of the template in the language of the document.
- For a quote, the default values come from the same template as the subject and message. If the Quote template is empty, the Sales order template supplies the subject, the message and the default values, even if default values are set in the Quote template.

Note: a default sender that was deleted, or whose domain is no longer authenticated, is ignored without a message. The From field then stays empty and the Send button stays disabled until you choose a sender. The other valid addresses of the template stay prefilled.
Choose the email recipient #
The Send to field of the send window is prefilled according to the document:
| Document | Prefilled recipient |
|---|---|
| Sales order, Quote | The contact person chosen in the order, if they have a valid email address and are still one of the customer’s contact persons. Otherwise, the customer’s main contact (the contact person marked Is main contact). |
| Purchase order | The vendor’s main contact. |
| Goods receipt | The vendor’s main contact. |
If the main contact does not have a valid email address, the Send to field stays empty.
For a sales order, a quote or a purchase order, you can choose other contact persons of the customer or vendor in the Send to field, among those who have a valid email address.



