Email scheme for new company contacts

When employees are created, an e-mail scheme is automatically used to ensure uniform email addresses. Based on the company’s domain address, the email addresses of all new employees created in a company follow this scheme.

The schema is initially calculated automatically from the company's domain and the domains of existing company employees. The most common spelling of the email address is prioritized with the company’s domain as the scheme. The resulting scheme is always determined on-the-fly, based on the company's employees when employees are created. All new contacts automatically receive an email address calculated according to this scheme. The email address is generated on the basis of the automatically calculated company email scheme if the first name, surname or company are set for the person and their email address is still empty.

In the case of name or company updates, the email scheme is always recalculated as described above.

Info

Admin: If special schemes are defined, they need to be custimized in the program code. How the email scheme is automatically calculated can be controlled via variables.

In order to pre-assign employee email addresses via an email scheme, all three of the following variables must be set to YES, and there must be at least one scheme in the "Email scheme" administrator list that is also implemented, including the "firstname.lastname" scheme.

PSA_PRS_USE_EMA_SCM: Apply email scheme of the company to the employees (y/n).

PSA_CON_EMA_SCM_LOW_CAS: Generate email addresses based on the company's email scheme in lowercase to ensure that email addresses are not rejected by various systems (y/n).

PSA_CON_EMA_SCM_CNV_ASC: Generate email addresses based on the company's email scheme in ASCII to ensure that names with umlauts don't lead to email addresses that are rejected by various sys­tems (y/n). This variable is for resolving the umlauts and changing them in accordance with ASCII.