Click or drag to resize

Management of emails

In order to securely manage some action on the user account, AskiaPortalCmn API needs sometimes to send emails to the user.

For that reason, AskiaPortalCmn API is provided with a built-in objects to send emails.

This topic contains the following sections:

Email translations

AskiaPortalCmn API support multilingual feature, so email messages could also be translated.

The API will always tries to send the email in the language of the user.

But it could send email in different language, when the translation is not provided.

It will then tries to send the email using the default application language (from the Config) or using the default system language (English - UK). It uses the method IEmailTranslationsFindDefault.

Email templates

An email message should provide placeholders to inject contextual data/information, like the user's first & last name, dynamic link etc...

Email are written with some kind of macros that will be interpreted during sending (please see the InterpreterFactoryGetDefault for more details about the macros).

See Also