> For the complete documentation index, see [llms.txt](https://nearchip.gitbook.io/qwiktest/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nearchip.gitbook.io/qwiktest/configurations/email-settings.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
