# Email Settings

Log in to the admin account and select `Settings > Email Settings` from the sidebar menu.

### Update Email SMTP Details

Find the **Email SMTP Settings** section and customize the following fields.

* Host Name
* Port Number
* User Name
* Password
* Encryption (SSL or TLS)
* From Address
* From Name

Finally, click on the **SAVE** button to update the changes.

{% hint style="danger" %}
The application **MUST HAVE** a working SMTP configuration for user registration and password resets.
{% endhint %}

### Disable Email Verification Feature

By default, **Email Verification** is mandatory in the application. If you wish, you can disable the email verification feature by following the below three steps.

{% hint style="danger" %}
**CAUTION**

It is highly recommended not to disable the email verification feature to prevent fake and spammy registrations.
{% endhint %}

#### Step 1

Comment the `Features::emailVerification()` line from features array in the `config/fortify.php` file.

Before:

```
'features' => [
        Features::registration(),
        Features::resetPasswords(),
        Features::emailVerification(),
        Features::updateProfileInformation(),
        Features::updatePasswords(),
        Features::twoFactorAuthentication([
            'confirmPassword' => true,
        ]),
    ],
```

After:

```
'features' => [
        Features::registration(),
        Features::resetPasswords(),
        //Features::emailVerification(),
        Features::updateProfileInformation(),
        Features::updatePasswords(),
        Features::twoFactorAuthentication([
            'confirmPassword' => true,
        ]),
    ],
```

#### Step 2

Remove `MustVerifyEmail` contract implementation from the `User` class by modifying the `app/Models/User.php` file.

Before:

```
class User extends Authenticatable implements Wallet, MustVerifyEmail
```

After:

```
class User extends Authenticatable implements Wallet
```

#### Step 3

Finally, comment the `MustVerifyEmail` contract from the imports in the `app/Models/User.php` file.

Before:

```
use Illuminate\Contracts\Auth\MustVerifyEmail;
```

After:

```
//use Illuminate\Contracts\Auth\MustVerifyEmail;
```

If you wish to enable the email verification again, do the opposite of the above steps.
