@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | |
39 | 39 | ) { |
40 | 40 | $this->mail = new PHPMailer(true); |
41 | - $this->data = new \stdClass(); |
|
41 | + $this->data = new \stdClass(); |
|
42 | 42 | //Server settings |
43 | 43 | $this->mail->SMTPDebug = $smtpDegug; // Enable verbose debug output |
44 | 44 | $this->mail->isSMTP(); // Send using SMTP |
@@ -99,8 +99,8 @@ discard block |
||
99 | 99 | |
100 | 100 | try { |
101 | 101 | $this->mail->Subject = $this->data->subject; |
102 | - $this->mail->msgHTML($this->data->body); |
|
103 | - $this->mail->addAddress($this->data->recipient_email, $this->data->recipient_name); |
|
102 | + $this->mail->msgHTML($this->data->body); |
|
103 | + $this->mail->addAddress($this->data->recipient_email, $this->data->recipient_name); |
|
104 | 104 | $this->mail->setFrom($from, $fromName); |
105 | 105 | |
106 | 106 |