PluginProbe
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder / 2.15.3
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder v2.15.3
3.3.1 V-3.3.0 3.2.2 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 V3.0.3 V3.0.2 -3.0.1 V_3.0.0 1.1.1 1.1.8 1.2 1.3 1.4 1.4.18 1.5.2 1.9 2.0 2.10.0 2.10.1 All 138 releases
← All changes | includes/Core/Util/MailConfig.php +1 -11 3.1.12.15.3 View file →
@@ -1,12 +1,8 @@
1 1 <?php
2 2
3 3 namespace BitCode\BitForm\Core\Util;
4 4
5 -if (!defined('ABSPATH')) {
6 - exit;
7 -}
8 -
9 5 use BitCode\BitForm\Core\Integration\IntegrationHandler;
10 6
11 7 /**
12 8 * Class handling plugin activation.
@@ -39,16 +35,10 @@
39 35 $phpmailer->Port = $integration_details->port;
40 36 $phpmailer->Username = $integration_details->smtp_user_name;
41 37 $phpmailer->Password = $integration_details->smtp_password;
42 38 $phpmailer->SMTPSecure = $integration_details->encryption;
43 - // $phpmailer->SMTPDebug = 1;
44 - // $phpmailer->Debugoutput = 'error_log';
39 + $phpmailer->SMTP_DEBUG = 1;
45 40 $phpmailer->From = $integration_details->form_email_address;
46 - $phpmailer->Sender = $integration_details->form_email_address;
47 - if (isset($this->config['from_email']) && !empty($this->config['from_email'])) {
48 - $phpmailer->From = $this->config['from_email'];
49 - $phpmailer->Sender = $this->config['from_email'];
50 - }
51 41 $from_name = $integration_details->form_name;
52 42 if (isset($this->config['from_name']) && !empty($this->config['from_name'])) {
53 43 $from_name = $this->config['from_name'];
54 44 }