Merge pull request #5587 from junction1153/patch-7

Add new_messages variable in VM Email template
This commit is contained in:
FusionPBX 2020-11-17 18:54:18 -07:00 committed by GitHub
commit 815ff63296
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -185,6 +185,7 @@
subject = subject:gsub("${voicemail_description}", voicemail_description);
subject = subject:gsub("${voicemail_name_formatted}", voicemail_name_formatted);
subject = subject:gsub("${domain_name}", domain_name);
subject = subject:gsub("${new_messages}", new_messages);
subject = trim(subject);
subject = '=?utf-8?B?'..base64.encode(subject)..'?=';