disable mail
This commit is contained in:
parent
8303ab327a
commit
2ab2d37e38
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue