- inform main admin about new user registration

- in UserController.php new user is created and and email will be sent
- email view is in resources/views/emails/newUserEmail.blade.php
- App\MailNewUser Mailable
This commit is contained in:
Arno Kaimbacher 2020-10-13 12:18:49 +02:00
parent 390b2396eb
commit 4bc66213a4
5 changed files with 118 additions and 18 deletions

View file

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ app()->getLocale() }}">
<head>
<title>www.tethys.at"</title>
</head>
<body>
<h1>{{ $details['title'] }}</h1>
<p>
Dear {{$details['admin_name']}},
</p>
a new user with email {{ $details['email'] }} has been registered to your site.
Thanks,
{{ config('app.name') }}
<p>Thank you</p>
</body>
</html>