diff --git a/app/Http/Controllers/WinningProofController.php b/app/Http/Controllers/WinningProofController.php index b1518dd..9913abd 100644 --- a/app/Http/Controllers/WinningProofController.php +++ b/app/Http/Controllers/WinningProofController.php @@ -83,7 +83,7 @@ class WinningProofController extends Controller $settings = Settings::find(1); $mails = json_decode($settings->notification_emails); foreach ($mails as $mail) { - Mail::to($mail)->send(new WinningProof($stickerPath, $ticketPath, $barcodePath, $participation, $user, $settings)); + Mail::to($mail->email)->send(new WinningProof($stickerPath, $ticketPath, $barcodePath, $participation, $user, $settings)); } return view('front.basic.replay');