1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Improved email invite feature

This commit is contained in:
Ylian Saint-Hilaire 2018-09-05 17:40:00 -07:00
parent d43a9eeabf
commit b6bbe71c2a
6 changed files with 54 additions and 18 deletions

View file

@ -460,9 +460,8 @@ function CreateMeshCentralServer(config, args) {
// Setup email server
if ((obj.config.smtp != null) && (obj.config.smtp.host != null) && (obj.config.smtp.from != null)) {
obj.mailserver = require('./meshmail.js').CreateMeshMain(obj);
obj.mailserver = require('./meshmail.js').CreateMeshMail(obj);
obj.mailserver.verify();
//obj.mailserver.sendMail('ylian.saint-hilaire@intel.com', 'Test Subject', 'This is a sample test', 'This is a <b>sample</b> html test');
}
// Start periodic maintenance