disable mail

This commit is contained in:
philipp lang 2023-01-07 18:59:51 +01:00
parent 8303ab327a
commit 2ab2d37e38
1 changed files with 4 additions and 4 deletions

View File

@ -62,10 +62,10 @@ class EventForm extends ComponentBase
$participant = Participant::create(array_merge($validator->validated(), [ $participant = Participant::create(array_merge($validator->validated(), [
'vorteam' => 'Ja' === Input::get('vorteam'), '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) { // 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->to($participant->email, $participant->firstname.' '.$participant->lastname);
$message->subject('Deine Anmeldung fürs Bezirkslager'); // $message->subject('Deine Anmeldung fürs Bezirkslager');
}); // });
return response()->json([], 201); return response()->json([], 201);
} }