From 064b999fef6975312080727ae9cb5d57bfdfcf3c Mon Sep 17 00:00:00 2001 From: emaktech Date: Mon, 18 May 2020 15:51:08 -0400 Subject: [PATCH] Attach PDF on Sent Fax Email Instead of TIF (#5277) Small change that attaches a pdf copy of the sent fax rather than the tif by replacing the extension in the file path. PDF files are dramatically smaller and more user friendly than TIF files. --- app/scripts/resources/scripts/fax_retry.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/resources/scripts/fax_retry.lua b/app/scripts/resources/scripts/fax_retry.lua index 64c7c48d50..edb240e043 100644 --- a/app/scripts/resources/scripts/fax_retry.lua +++ b/app/scripts/resources/scripts/fax_retry.lua @@ -648,7 +648,7 @@ email_address, "To: "..email_address.."\nFrom: "..from_address.."\nSubject: "..email_subject_success_default.."\n"..x_headers, email_body_success_default, - fax_file + fax_file:gsub(".tif",".pdf",x) ); if (settings['fax']['keep_local']['boolean'] ~= "nil") then