update Do 2. Jul 10:31:01 CEST 2020
This commit is contained in:
parent
53407f9707
commit
ee32e94c07
@ -403,6 +403,7 @@ module.exports = function (io, sql, fs, brk, async, app_cfg) {
|
||||
var validmail = /\S+@\S+\.\S+/;
|
||||
if (validmail.test(export_data.export_recipient)) {
|
||||
// Mail-Server
|
||||
// BUG Mail wird bei selbst signiertem Zertifikat nicht verschickt
|
||||
var transport = nodemailer.createTransport({
|
||||
host: app_cfg.rmld.mailserver_host,
|
||||
port: app_cfg.rmld.mailserver_port,
|
||||
@ -410,6 +411,9 @@ module.exports = function (io, sql, fs, brk, async, app_cfg) {
|
||||
auth: {
|
||||
user: app_cfg.rmld.mail_user,
|
||||
pass: app_cfg.rmld.mail_pass
|
||||
},
|
||||
tls: {
|
||||
rejectUnauthorized: false
|
||||
}
|
||||
});
|
||||
var mail_message = {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user