mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
More work on SMS support.
This commit is contained in:
parent
19e276ca68
commit
200acde9c8
24 changed files with 287 additions and 14 deletions
10
meshmail.js
10
meshmail.js
|
@ -160,7 +160,7 @@ module.exports.CreateMeshMail = function (parent) {
|
|||
|
||||
var template = getTemplate('account-login', domain, language);
|
||||
if ((template == null) || (template.htmlSubject == null) || (template.txtSubject == null)) {
|
||||
parent.debug('email', "Error: Failed to get mail template."); // Not email template found
|
||||
parent.debug('email', "Error: Failed to get mail template."); // No email template found
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -187,7 +187,7 @@ module.exports.CreateMeshMail = function (parent) {
|
|||
|
||||
var template = getTemplate('account-invite', domain, language);
|
||||
if ((template == null) || (template.htmlSubject == null) || (template.txtSubject == null)) {
|
||||
parent.debug('email', "Error: Failed to get mail template."); // Not email template found
|
||||
parent.debug('email', "Error: Failed to get mail template."); // No email template found
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -214,7 +214,7 @@ module.exports.CreateMeshMail = function (parent) {
|
|||
|
||||
var template = getTemplate('account-check', domain, language);
|
||||
if ((template == null) || (template.htmlSubject == null) || (template.txtSubject == null)) {
|
||||
parent.debug('email', "Error: Failed to get mail template."); // Not email template found
|
||||
parent.debug('email', "Error: Failed to get mail template."); // No email template found
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -242,7 +242,7 @@ module.exports.CreateMeshMail = function (parent) {
|
|||
|
||||
var template = getTemplate('account-reset', domain, language);
|
||||
if ((template == null) || (template.htmlSubject == null) || (template.txtSubject == null)) {
|
||||
parent.debug('email', "Error: Failed to get mail template."); // Not email template found
|
||||
parent.debug('email', "Error: Failed to get mail template."); // No email template found
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -270,7 +270,7 @@ module.exports.CreateMeshMail = function (parent) {
|
|||
|
||||
var template = getTemplate('mesh-invite', domain, language);
|
||||
if ((template == null) || (template.htmlSubject == null) || (template.txtSubject == null)) {
|
||||
parent.debug('email', "Error: Failed to get mail template."); // Not email template found
|
||||
parent.debug('email', "Error: Failed to get mail template."); // No email template found
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue