ССС -> ССОМ
This commit is contained in:
@ -74,7 +74,7 @@ function normalizeEmailAddresses(to) {
|
||||
|
||||
|
||||
exports.SendEmail = async function (to, subject, text, html, attachments = []) {
|
||||
let sender = process.env.EMAIL_SENDER || '"Специално Свидетелстване София " <sofia@mwitnessing.com>';
|
||||
let sender = process.env.EMAIL_SENDER || '"Специално Свидетелстване София" <sofia@mwitnessing.com>';
|
||||
let emailAddresses = normalizeEmailAddresses(to)
|
||||
|
||||
const bypassEmailReccipients = process.env.EMAIL_BYPASS_TO || null;
|
||||
@ -114,7 +114,7 @@ exports.SendEmailHandlebars = async function (to, templateName, model, attachmen
|
||||
const subjectMatch = templateSource.match(/{{!--\s*Subject:\s*(.*?)\s*--}}/);
|
||||
const textMatch = templateSource.match(/{{!--\s*Text:\s*([\s\S]*?)\s*--}}/);
|
||||
|
||||
let subject = subjectMatch ? subjectMatch[1].trim() : 'ССС: Известие';
|
||||
let subject = subjectMatch ? subjectMatch[1].trim() : 'ССОМ: Известие';
|
||||
let textVersion = textMatch ? textMatch[1].trim() : null;
|
||||
|
||||
// Remove the subject and text annotations from the template source
|
||||
|
Reference in New Issue
Block a user