Use the email_queue by default

This commit is contained in:
FusionPBX 2023-05-25 13:24:23 -06:00 committed by GitHub
parent 677aa45a90
commit c4a42dda96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ local log = require "resources.functions.log".send_mail
local db = dbh or Database.new('system');
local settings = Settings.new(db, domain_name, domain_uuid)
local email_queue_enabled = settings:get('email_queue', 'enabled', 'boolean') or "false";
local email_queue_enabled = "true";
if (email_queue_enabled == 'true') then
function send_mail(headers, email_from, email_address, email_message, email_file)