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:
- 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”;
- In the project properties, insert the Assembly name and the Default Namespace with the same project name;
- Add a reference for Primavera.Platform.Email.Factory;
- Create a class EmailProvider with inheritance for class EmailProviderBase (Primavera.Platform.Email.Factory);
- Perform override to the class methods;
- 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.