-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
🧬 listener-agentData analytics, evaluating and alertingData analytics, evaluating and alerting
Milestone
Description
Listener is stopped when the client does not need to set up EMAIL_SMTP_USER
and EMAIL_SMTP_PASS
. In some cases, this environment variable is not necessary.
For example:
reporter:email:missing EMAIL_SMTP_USER. Stopped.
process.exit(1)
Now, the Listener only displays a warning:
reporter:email:missing EMAIL_SMTP_USER.
If EMAIL_SMTP_USER
and EMAIL_SMTP_PASS
are set in the environment, the following piece will be added to the nodemailer configuration:
mailerConfig['auth'] = {
user: emailSmtpUser,
pass: emailSmtpPass
}
The default nodemailer configuration without the auth
property is as follows:
const mailerConfig = {
host: emailSmtpServer,
port: emailSmtpPort,
secure: true,
tls: {
minVersion: tlsMinVersion,
maxVersion: tlsMaxVersion,
rejectUnauthorized: tlsRejectUnauthorized
}
};
Metadata
Metadata
Assignees
Labels
🧬 listener-agentData analytics, evaluating and alertingData analytics, evaluating and alerting
Type
Projects
Status
📦 Released