Configure emails

Date formatting

It is possible to configure a date format for emails. The following configuration will format the date 2022-01-24T04:54:42-05 which will give the result Mon 24 Jan 2022 04:54:42 -0500

modules/RenditionEngine/application.properties
emltopdf.config.format.date=EEE d MMM yyyy HH:mm:ss ZZ

Date dependent on time zone

The date is configurable according to the user’s time zone. By default, the date is formatted according to the UTC time zone.

configurations/arender-custom-server.properties
default.url.parser.use.timeZone.for.ids=true

Subject and attachments with non-Latin characters

Non-Latin characters in subject and attachment names may not be displayed correctly. To enable proper rendering, you must configure the document-converter rendering module as follows :

modules/RenditionEngine/application.properties
emltopdf.encode.header.with.body.encoding=true
emltopdf.config.filter.special.characters.regex=
emltopdf.config.filter.replacement.character=

In some cases, the subject and attachments may still have display issues. It will therefore be necessary to apply the following configuration on the Web-UI-server side. This makes it possible to provide the locale of the user which will be used to determine the correct encoding to apply.

configurations/arender-custom-server.properties
default.url.parser.use.locale.for.ids=true

Header rendering language

It is possible configure the header rendering language for emails. By default, the header is rendered in French. The possible values are : “FR”, “EN”.

modules/RenditionEngine/application.properties
# Configure the header rendering language. Possible values are : "FR", "EN".
emltopdf.config.header.language=FR