Commit Graph

20 Commits

Author SHA1 Message Date
frytimo 2cbb4dbc31
remove instances where a pointer is used in a foreach loop for value (#7108) 2024-08-22 12:41:10 -06:00
FusionPBX 113d97978a
Set the email from address and name 2024-01-05 17:21:29 -07:00
fusionate f4d8ec9182
Email [Class]: Remove redundant if statements, simplify logic. 2023-12-29 18:19:59 +00:00
FusionPBX 169bf8788a
Update code using the settings class 2023-09-19 12:56:08 -06:00
FusionPBX 4b9ff10eef
Update email.php 2023-09-19 12:22:00 -06:00
FusionPBX 7f2934ff24
Use !empty when using the setting->get method 2023-09-19 12:17:04 -06:00
FusionPBX 0931324d13
Update email class to use the settings class 2023-09-19 12:14:58 -06:00
fusionate 0ca497643c
Email [Class]: Updates for PHP 8.1 2023-05-27 03:36:58 +00:00
frytimo fef8165be2
Frytimo pr patches for php8.1 (#6630)
* Passing null to parameter #2 ($string) of type string is deprecated

* Passing null to parameter #1 ($string) of type string is deprecated

* php 8.1 fixes

* php 8.1 fixes - replace strlen($var) > 0 with !empty($var)

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - strlower with null

* php 8.1 fixes - strreplace with null

* php 8.1 fixes - passing null to base64_decode

* php 8.1 fixes - check for false and check for null on $this->dir

* php 8.1 fixes - remove assignment of $db variable to modules object

* php 8.1 fixes - avoid sending null to substr

* php 8.1 fixes - change ${var} to {$var}

* php 8.1 fixes - check for null before preg_replace

* php 8.1 fixes - remove setting db variable on domains object

* php 8.1 fixes - set empty string if $row['domain_setting_subcategory'] is null

* php 8.1 fixes - set empty string if $_REQUEST['show'] is not available

* php 8.1 fixes

* php 8.1 fixes - correct $_POST checking syntax

* php 8.1 fixes - correct $_POST variables

* php 8.1 fixes

* Use brackets consistently

* Update user_setting_edit.php

* Change to not empty

* Update device.php

* Update text.php

---------

Co-authored-by: Tim Fry <tim@voipstratus.com>
Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-05-05 10:46:37 -06:00
frytimo 69bd42af05
remove unneeded destruct methods as GC has higher performance (#6631)
Co-authored-by: Tim Fry <tim@voipstratus.com>
2023-04-27 20:18:53 -06:00
fusionate 18225f82f2
Email Class: Fix typo that effects embedded base64 image attachments. 2023-04-20 01:33:22 +00:00
fusionate 19e58af546
Email Queue Attachments - Add CID and Mime Type fields. 2023-04-12 20:06:41 +00:00
FusionPBX 97dbe7b31a
Save the email response (#6558)
* Save the email response

* use the response variable from the email class

* Rename email_debug to email_response

* Update app_languages.php

* Show the email response

* Save the email response
2023-02-17 12:47:11 -07:00
FusionPBX 7485757458
Change the timeout to 20 seconds 2022-10-21 11:43:53 -06:00
FusionPBX 4afc040efa
Add SMTP Timeout and SMTPKeepAlive 2022-10-21 11:43:14 -06:00
FusionPBX 60e484e8f5
Default settings overridden by domain SMTP settings
Fixed a regressions where the domain SMTP settings were ignored.
2022-05-05 19:41:38 -06:00
FusionPBX c6a36cdf45
Fix the email attachments that are being sent through the email queue. 2022-04-19 00:48:04 -06:00
FusionPBX 72b9d4383e
Do a better job extracting information for the form and recipients. 2022-04-17 15:37:17 -06:00
FusionPBX 1585a42256
Add parse method to the email class. 2022-04-16 22:57:03 -06:00
FusionPBX f25fc53c62
Add a new email class. 2022-04-15 17:58:40 -06:00