mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user