From 4c4fef83c88a909ee28be535cb1b79ec2e880134 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 7 Feb 2022 15:28:40 -0700 Subject: [PATCH] Update fax_to_email.php --- secure/fax_to_email.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/secure/fax_to_email.php b/secure/fax_to_email.php index 613ca1d974..9da9657b46 100644 --- a/secure/fax_to_email.php +++ b/secure/fax_to_email.php @@ -605,16 +605,6 @@ if (!function_exists('fax_split_dtmf')) { //send the email if (isset($fax_email) && strlen($fax_email) > 0) { - //add the attachments - if (strlen($fax_file_name) > 0) { - if ($pdf_file && file_exists($pdf_file)) { - $mail->AddAttachment($pdf_file); // pdf attachment - } - else { - $mail->AddAttachment($fax_file); // tif attachment - } - } - //add the attachment if (strlen($fax_file_name) > 0) { $email_attachments[0]['type'] = 'file';