| Administration Page | Application/Contract | Syracuse/Collaboration | class | notificationServers | Representation | notificationServer |
|---|
Use this function to set up a notification service connecting to your email servers to send rich text notification emails to Sage X3 users or external recipients.
Notification emails are generated by:
The application through license expiration, password reset emails, and so on
The workflow rules
You need to configure a notification server to send reset password links by email.
You can set up multiple notification servers and assign them to different companies or legislations.
Set the SYRMAIL - Use notification server parameter (SUP chapter, WRK group) value to Yes to activate the notification server.
Go to Development > Data and parameters > Development setup > Parameter definition.
Select the SUP chapter in the Chapter field or the SUP Supervisor chapter from the left list.
Select your folder.
Select the WRK Workflow group and enter the details.
Set the SYRMAIL - Use notification server parameter value to Yes.
Use the SYRMAILSRV - Notification server parameter (SUP chapter, WRK group) value to set the notification server you want to use for the whole folder or a single company or legislation.
Go to Development > Data and parameters > Development setup > Parameter definition.
Select the SUP chapter in the Chapter field or the SUP Supervisor chapter from the left list.
Select your folder, company, or legislation.
Enter the WRK Workflow group details.
Set the SYRMAILSRV - Notification server parameter (SUP chapter, WRK group) value to the name of the notification server you want to use for this folder, company, or legislation.
The following information is associated with a notification server.
The name used to reference the notification server.
A user-friendly description. This information is entered by default in the current language.
Specify the protocol used by your email server to deliver messages. The SMTP protocol is set by default.
The notification server uses the selected protocol to connect to your email service provider. Its choice depends on your provider’s requirements and other architecture prerequisites.
You can also select the options below depending on the email service provider you use:
AWS Simple Email Service
SendGrid Service
Mailgun Service
Office 365 - Microsoft Graph
Each service provider above has its own set of parameters. Refer to the relevant documentation provided by your email service provider for more details.
Enter the information to connect to your SMTP server. You can use any email service provider that supports SMTP.
Enter the hostname or IP address of the email service to connect to.
Enter the port to connect to. Generally, ports 587 or 25 are for non-secure or STARTTLS modes. Ports 465 and 587 are frequently used for TLS mode. Refer to the SMTP connection security section for more details.
Enter the proxy URL if you have configured a proxy to connect to the SMTP server.
Configure the SMTP connection security and authentication. An email server connection needs always to be secure on a production system.
This section relates to the connection encryption parameters. Always secure your SMTP connection to avoid security vulnerabilities that expose email streams and information to potential attackers.
The security mode depends on the SMTP server configuration defined by the server provider.
The available security modes are:
Select the certificate authority used by the SMTP server to sign its server certificate (if it is a self-signed certificate or not a well-known authority).
For TLS (transport layer security), the mail server authenticates with a server certificate and can enable encrypted secure connections (like with HTTPS). When you use self-signed certificates for the mail server or certificates that are not issued by known certificate authorities, you can add the corresponding certificates of the certificate authorities here.
Select a client certificate if it is requested by the SMTP server for authentication.
This section adds authentication to the connection in addition to encryption. This field has two choices:
Configure SMTP pooled connections if necessary and set connection timeouts.
If pooling is used, then a fixed number of open connections is kept and a message is sent once a connection becomes available. This is useful when you have a large number of messages that you want to send in batches or when your provider allows you to only use a small number of parallel connections.
The information and message configuration sections are the same as those for SMTP, but the others differ.
Each service provider has their own set of parameters and settings. You can also consult the relevant documentation for each email service provider.
Set the API key from the SendGrid account.
Set the API key and domain from the Mailgun account.
You can connect to a Microsoft 365 email service using OAuth2. OAuth2 is the only form of authentication recommended with a Microsoft 365 service.
Create an Azure application. You will receive a client ID, a tenant ID, and a secret access key.
Enter your client ID, tenant ID, and secret access key in this section.
In Azure, go to the API permissions pane.
Add the MailSend permission with the Application type.
Define the email address of the notification sender and select the default theme that is used to format the email sent by the server.
Specify a default sender email for generic system notifications and emails generated by workflow rules that do not have a sender email specified.
Specify the theme to encapsulate all emails generated by this notification server. Notification themes are HTML envelopes for your email that encapsulate the main email text generated by the system or workflow rules.
The following operations are available from the Actions menu.
Use notification themes to customize the way your email templates are built. Themes are HTML encapsulation for your main email content, which is generated automatically or through the workflow rules.
You can access the Notification themes function directly and create or edit your email templates.
When this operation is triggered, a pop-up window opens where you can enter an email address, and a test email is sent to this address. If the email sending succeeds, a success message displays on the header line of the page.