diff --git a/components/EventForm.php b/components/EventForm.php index b70e940..221e96f 100644 --- a/components/EventForm.php +++ b/components/EventForm.php @@ -62,10 +62,10 @@ class EventForm extends ComponentBase $participant = Participant::create(array_merge($validator->validated(), [ 'vorteam' => 'Ja' === Input::get('vorteam'), ])); - Mail::send('zoomyboy.event::mail.confirm', ['data' => $participant, 'until' => '1.9.2023', 'iban' => 'XXX', 'birthday' => $participant->birthday->format('d.m.Y')], function ($message) use ($participant) { - $message->to($participant->email, $participant->firstname.' '.$participant->lastname); - $message->subject('Deine Anmeldung fürs Bezirkslager'); - }); + // Mail::send('zoomyboy.event::mail.confirm', ['data' => $participant, 'until' => '1.9.2023', 'iban' => 'XXX', 'birthday' => $participant->birthday->format('d.m.Y')], function ($message) use ($participant) { + // $message->to($participant->email, $participant->firstname.' '.$participant->lastname); + // $message->subject('Deine Anmeldung fürs Bezirkslager'); + // }); return response()->json([], 201); }