- 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:
parent
390b2396eb
commit
4bc66213a4
5 changed files with 118 additions and 18 deletions
|
@ -15,7 +15,7 @@ return [
|
|||
|
||||
'workspacePath' => storage_path() . DIRECTORY_SEPARATOR . "workspace",
|
||||
|
||||
'name' => env('APP_NAME', 'App'),
|
||||
'name' => env('APP_NAME', 'Tethys'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
|
@ -54,7 +54,10 @@ return [
|
|||
|
|
||||
*/
|
||||
|
||||
'from' => ['address' => env('MAIL_FROM', null), 'name' => 'Hasan Doha'],
|
||||
'from' => [
|
||||
'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'),
|
||||
'name' => env('MAIL_FROM_NAME', 'Example'),
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -67,7 +70,7 @@ return [
|
|||
|
|
||||
*/
|
||||
|
||||
'encryption' => 'tls',
|
||||
'encryption' => env('MAIL_ENCRYPTION', 'tls'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -95,6 +98,8 @@ return [
|
|||
|
||||
'password' => env('MAIL_PASSWORD'),
|
||||
|
||||
'mailadmin' => env('MAIL_ADMIN', 'hello@example.com'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Sendmail System Path
|
||||
|
@ -106,19 +111,48 @@ return [
|
|||
|
|
||||
*/
|
||||
|
||||
'sendmail' => '/usr/sbin/sendmail -bs',
|
||||
// 'sendmail' => '/usr/sbin/sendmail -bs',
|
||||
|
||||
'sendmail' => 'sendmail -bs',
|
||||
|
||||
/*
|
||||
'stream' => [
|
||||
'ssl' => [
|
||||
'allow_self_signed' => true,
|
||||
'verify_peer' => false,
|
||||
'verify_peer_name' => false,
|
||||
],
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Mail "Pretend"
|
||||
| Markdown Mail Settings
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| When this option is enabled, e-mail will not actually be sent over the
|
||||
| web and will instead be written to your application's logs files so
|
||||
| you may inspect the message. This is great for local development.
|
||||
| If you are using Markdown based email rendering, you may configure your
|
||||
| theme and component paths here, allowing you to customize the design
|
||||
| of the emails. Or, you may simply stick with the Laravel defaults!
|
||||
|
|
||||
*/
|
||||
|
||||
'pretend' => false,
|
||||
'markdown' => [
|
||||
'theme' => 'default',
|
||||
|
||||
'paths' => [
|
||||
resource_path('views/vendor/mail'),
|
||||
],
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Log Channel
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| If you are using the "log" driver, you may specify the logging channel
|
||||
| if you prefer to keep mail messages separate from other log entries
|
||||
| for simpler reading. Otherwise, the default channel will be used.
|
||||
|
|
||||
*/
|
||||
|
||||
'log_channel' => env('MAIL_LOG_CHANNEL'),
|
||||
|
||||
];
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue