# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://nearchip.gitbook.io/qwiktest/configurations/email-settings.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
