|
@@ -57,7 +57,7 @@ |
|
|
block discarded – undo |
|
57
|
57
|
|
|
58
|
58
|
// check if sending emails is enabled and if this is not running a testing environment |
|
59
|
59
|
if (Config::get('mail.enabled')) { |
|
60
|
|
- Mail::queue('EmailTemplates.' . $this->template, $data, function ($m) { |
|
|
60
|
+ Mail::queue('EmailTemplates.' . $this->template, $data, function($m) { |
|
61
|
61
|
$m->from($this->fromEmail, $this->fromName); |
|
62
|
62
|
$m->to($this->toEmail, $this->toName) |
|
63
|
63
|
->subject($this->subject); |
Please login to merge, or discard this patch.