smtp change
This commit is contained in:
5
dist/missingeventdetector.js
vendored
5
dist/missingeventdetector.js
vendored
@ -15,7 +15,10 @@ class MissingEventProcessor extends Processor.AProcessor {
|
|||||||
this.smtp = nodemailer.createTransport({
|
this.smtp = nodemailer.createTransport({
|
||||||
host: config.dict.smtpHost,
|
host: config.dict.smtpHost,
|
||||||
port: config.dict.smtpPort,
|
port: config.dict.smtpPort,
|
||||||
secure: false
|
secure: false,
|
||||||
|
tls: {
|
||||||
|
rejectUnauthorized: false
|
||||||
|
}
|
||||||
});
|
});
|
||||||
this.timer = setInterval(() => {
|
this.timer = setInterval(() => {
|
||||||
this.clientMap.forEach((value, key) => {
|
this.clientMap.forEach((value, key) => {
|
||||||
|
@ -29,7 +29,10 @@ class MissingEventProcessor extends Processor.AProcessor {
|
|||||||
this.smtp = nodemailer.createTransport({
|
this.smtp = nodemailer.createTransport({
|
||||||
host: config.dict.smtpHost,
|
host: config.dict.smtpHost,
|
||||||
port: config.dict.smtpPort,
|
port: config.dict.smtpPort,
|
||||||
secure: false
|
secure: false,
|
||||||
|
tls: {
|
||||||
|
rejectUnauthorized: false
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
this.timer = setInterval(() => {
|
this.timer = setInterval(() => {
|
||||||
|
Reference in New Issue
Block a user