| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | public function send(array $configuration, string $view = 'habbo-web-mail.confirm-mail') |
||
| 25 | { |
||
| 26 | if (Config::get('mail.enable')) |
||
| 27 | Mail::send($view, $configuration, function ($message) use ($configuration) { |
||
| 28 | $message->from(Config::get('mail.from.address'), Config::get('chocolatey.name')); |
||
| 29 | $message->to($configuration['mail'])->subject($configuration['subject']); |
||
| 30 | }); |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Prepare the E-Mail |
||
| 63 |