Skip to content

Commit

Permalink
fix dumb typo
Browse files Browse the repository at this point in the history
  • Loading branch information
koehn committed Jan 24, 2025
1 parent 340bfd7 commit 9c5b19c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/monitor-types/smtp.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ class SMTPMonitorType extends MonitorType {
let options = {
port: monitor.port || 25,
host: monitor.hostname,
secure: smtpSecurity === "secure", // use SMTPS (not STARTTLS)
ignoreTLS: smtpSecurity === "nostarttls", // don't use STARTTLS even if it's available
requireTLS: smtpSecurity === "starttls", // use STARTTLS or fail
secure: monitor.smtpSecurity === "secure", // use SMTPS (not STARTTLS)
ignoreTLS: monitor.smtpSecurity === "nostarttls", // don't use STARTTLS even if it's available
requireTLS: monitor.smtpSecurity === "starttls", // use STARTTLS or fail
};
let transporter = nodemailer.createTransport(options);
try {
Expand Down

0 comments on commit 9c5b19c

Please sign in to comment.