Welcome email
Setup
0. This features is enabled by default
When UserCreated events are fired, Welcome emails with password setting are send automagically.
1. Check email verification routes
One route is needed for this feature to work. This routes can be found in the latest portal/routes/application.php.stub. These files are automatically copied to your project when creating the application, they might not be up to date with the latest version however. The latest version should look something like this
php
// GUEST ONLY
Route::group(['middleware' => array_filter([
'qore-portal-guest',
])],
function (): void {
Route::get('/welcome/{user}', WelcomeCard::class)->middleware(WelcomesNewUser::class)->name('welcome');
});Configuration
| Key | Type | Default | Description |
|---|---|---|---|
| features.welcome_email | bool | true | Enable welcome email feature |
| feature_config.welcome_email.welcome_route | string | application.portal.welcome | Route name for welcome page. Used as ßroute-url in the email. |