Email Settings
Update Email SMTP Configuration details
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.
The application MUST HAVE a working SMTP configuration for user registration and password resets.
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.
CAUTION
It is highly recommended not to disable the email verification feature to prevent fake and spammy registrations.
Step 1
Comment the Features::emailVerification()
line from features array in the config/fortify.php
file.
Before:
After:
Step 2
Remove MustVerifyEmail
contract implementation from the User
class by modifying the app/Models/User.php
file.
Before:
After:
Step 3
Finally, comment the MustVerifyEmail
contract from the imports in the app/Models/User.php
file.
Before:
After:
If you wish to enable the email verification again, do the opposite of the above steps.
Last updated
Was this helpful?