NTA SMTP Functionality Usage

NTA SMTP Functionality Usage

novembro 10, 2023 | NSFOCUS

Customers can enable SMTP functionality to ensure timely receipt of alert notifications and device logs. Below are the steps to configure SMTP functionality.

Configuring an SMTP Server

1. Choose Administration > Third-Party Interface > Email Service and click SMTP Server

2. Configure parameters

Parameters for configuring an SMTP server:

SMTP Server AddressSpecifies the IP address or domain name of the server for sending email messages. For IP addresses, you can type either an IPv4 or IPv6 address. This field is mandatory.
PortSpecifies the port number of the SMTP server for sending email messages. The default port is 25. When Secure by SSL is selected, this value automatically changes to 465. This field is mandatory.
FromSpecifies the email address from which logs are sent. This field is mandatory.
Authentication MethodSpecifies the authentication method, which can be one of the following:
Secure by SSL: If this option is selected, SMTP sessions are encrypted via SSL. STARTTLS: If this option is selected, emails are sent via StartTLS.
Identity Authentication: If this option is selected, you need to configure the username and password for sending email messages.
Username/PasswordSpecifies the username and password for sending email messages. These two fields are available only when you select Identity Authentication. Some mail service providers may provide a specific SMTP password instead of using an email login password directly.

3. Click Save to commit the settings.

(1) After the SMTP server is configured, you can click Send Test Mail to check whether the parameter settings are correct.

(2) Click Send. NTA will send the test mail to the specified email address if the parameters are correctly set.

The message “Sent” is displayed when the test email is sent successfully.

The message “Failed to send the email ” is displayed when sending the email fails.

Configuring Mail Settings

This involves the following sub-tasks:

  • Email alert configuration: configuration of email addresses to which alerts will be sent.
  • Log sending configuration: configuration of log sending conditions and alert filtering conditions.
  • Scheduled alerting configuration: configuration of parameters for generating and sending alerts in a scheduled manner.

Configuring the Email Template

The email template is used to configure the format of alert messages sent by email. NTA comes with a default email template, which can be modified as required.

By performing the preceding steps, you can use the SMTP function to receive timely notifications when alerts occur. This helps you understand alerts and device status in a timely manner and take necessary actions.