mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-02-22 19:45:56 +00:00
fix dumb typo
This commit is contained in:
parent
340bfd7377
commit
9c5b19c1d7
1 changed files with 3 additions and 3 deletions
|
@ -12,9 +12,9 @@ class SMTPMonitorType extends MonitorType {
|
||||||
let options = {
|
let options = {
|
||||||
port: monitor.port || 25,
|
port: monitor.port || 25,
|
||||||
host: monitor.hostname,
|
host: monitor.hostname,
|
||||||
secure: smtpSecurity === "secure", // use SMTPS (not STARTTLS)
|
secure: monitor.smtpSecurity === "secure", // use SMTPS (not STARTTLS)
|
||||||
ignoreTLS: smtpSecurity === "nostarttls", // don't use STARTTLS even if it's available
|
ignoreTLS: monitor.smtpSecurity === "nostarttls", // don't use STARTTLS even if it's available
|
||||||
requireTLS: smtpSecurity === "starttls", // use STARTTLS or fail
|
requireTLS: monitor.smtpSecurity === "starttls", // use STARTTLS or fail
|
||||||
};
|
};
|
||||||
let transporter = nodemailer.createTransport(options);
|
let transporter = nodemailer.createTransport(options);
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Add table
Reference in a new issue