V10 ResourcesGuides
ResourcesGuides
Guides
Back | List of Articles

How to add a custom email provider?

Last changed in 16/03/2023

The solution's architecture allows email providers to be created for use in the different areas of the PRIMAVERA system where email configuration is allowed.

To create an email provider, follow these steps:

  1. Create a project of the type Class Library with the version.Net Framework 4.7.1. The project name must follow the nomenclature “Primavera.Platform.Email.Provider”;
  2. In the project properties, insert the Assembly name and the Default Namespace  with the same project name;
  3. Add a reference for Primavera.Platform.Email.Factory;
  4. Create a class EmailProvider with inheritance for class EmailProviderBase (Primavera.Platform.Email.Factory);
  5. Perform override to the class methods;
  6. Compile the project and insert in on the APL.

In the Administrator installation parameters, the created provider will be added to the email provider combobox.

You can access the github where a base project with an implementation example is available.

Bookmark or share this article
Esta página foi útil?
Obrigado pelo seu voto.

login para deixar a sua opinião.

Obrigado pelo seu feedback. Iremos analisá-lo para continuarmos a melhorar!
Artigos Relacionados
Começar a Usar Como criar um projeto de integração com Visual Studio? Como criar um projeto de extensibilidade de interface (PEX) com Visual Studio? Como criar um projeto de extensibilidade de API (Motor) com Visual Studio? Como criar separadores do utilizador com Visual Studio?