ମୁଖ୍ୟ ବିଷୟବସ୍ତୁକୁ ଯାଆନ୍ତୁ
ଅସୂଚୀତ ପୃଷ୍ଠା
ଏହି ପୃଷ୍ଠା ଅସୂଚୀତ ଅଟେ। ସର୍ଚ୍ଚ ଇଞ୍ଜିନ୍ ଏହାକୁ ଇଣ୍ଡେକ୍ସ କରିବ ନାହିଁ, ଏବଂ ସିଧାସଳଖ ଲିଙ୍କ୍ ଥିବା ବ୍ୟବହାରକାରୀ ମାତ୍ର ଏହାକୁ ଦେଖିପାରିବେ।

Mail Configuration / SMTP Setup

Cpanel​

To create and configure an SMTP email account using cPanel, follow the steps below:

Step 1: Log in to cPanel​

Step 2: Create an Email Account​

  1. In cPanel, go to "Email Accounts".
  2. Click "Create".
  3. Fill in:
    • Username: e.g., info, test, or hr
    • Domain: Select the correct domain (if multiple are available)
    • Password: Set a strong password or use the generator
  4. Click Create.
ଟିପ୍ପଣୀ

📌 This creates an email like test@yourdomain.com

Step 3: Get SMTP Settings​

Once the email is created:

  1. Go to "Email Accounts" again.
  2. Find your new email and click "Connect Devices".
  3. You'll see the SMTP settings under the Mail Client Manual Settings section like below image:

SMTP Cpanel

Example:​

InputValue
QUEUE_MAILSelect true / false, (If you select true, you need to run the following command: php artisan queue:work on server)
MAIL_DRIVER_TYPESelect MAIL MAILER / MAIL DRIVER
MAIL_DRIVERUse sendmail if your server has a local mail server installed (like Postfix or Exim). Use smtp when sending emails through an external mail service (like Gmail, Mailgun, or your hosting provider's SMTP server).
MAIL_HOSTmail.yourdomain.com
MAIL_PORT587
MAIL_USERNAMEtest@yourdomain.com
MAIL_PASSWORDThe one you set
MAIL_ENCRYPTIONtls
MAIL_FROM_ADDRESSyourmail@gmail.com
MAIL_FROM_NAMEYour project/app name
ଟିପ୍ପଣୀ

Set the values to System Settings → Mail Configuration

Cpanel System Setting

ଟିପ୍ପଣୀ

If you want to know more details please follow their Official documentation. Here is also a youtube video link for reference.


Hostinger Panel​

To create and configure an SMTP email account using Hostinger, follow the steps below:

Step 1: Log In to Hostinger hPanel — https://hpanel.hostinger.com​

Step 2: Create an Email Account​

  1. Go to Emails from the top menu.
  2. Select your domain name.
  3. Click "Create New Email Account".
  4. Fill in:
    • Email address (e.g., info, test, or hr)
    • Password
  5. Click "Create".
ଟିପ୍ପଣୀ

📌 This creates an email like test@yourdomain.com

Step 3: Get SMTP Settings​

  1. After creating the email, go back to the Email Accounts section.
  2. Find your email and click "Connect App & Devices" or "Set Up Devices".
  3. Look for the Manual Configuration or SMTP Settings.

Hpanel SMTP

Example:​

InputValue
QUEUE_MAILSelect true / false, (If you select true, you need to run the following command: php artisan queue:work on server)
MAIL_DRIVER_TYPESelect MAIL MAILER / MAIL DRIVER
MAIL_DRIVERUse sendmail if your server has a local mail server installed (like Postfix or Exim). Use smtp when sending emails through an external mail service (like Gmail, Mailgun, or your hosting provider's SMTP server).
MAIL_HOSTmail.yourdomain.com
MAIL_PORT465
MAIL_USERNAMEtest@yourdomain.com
MAIL_PASSWORDThe one you set
MAIL_ENCRYPTIONssl
MAIL_FROM_ADDRESSyourmail@gmail.com
MAIL_FROM_NAMEYour project/app name
ଟିପ୍ପଣୀ

Set the values to System Settings → Mail Configuration

Hpanel System Setting

ଟିପ୍ପଣୀ

If you want to know more details please follow their Official documentation. Here is also a youtube video link for reference.

ଟିପ୍ପଣୀ

Please note that if you change QUEUE_MAIL from false to true, you need to run the following command: php artisan queue:work. Remember: The command path should be: /home/u186958312/domains/yourdomain.com/public_html. Make sure you're in the correct path.

ଟିପ୍ପଣୀ

If you're not familiar with running the command, there's another option. Simply visit yourdomain.com/queue-work and it will be executed automatically.

ଟିପ୍ପଣୀ

If you select QUEUE_MAIL as true but do not run the command or visit the URL, email functionality will not work properly.


Gmail​

To create and configure an SMTP email account using Gmail, follow the steps below:

Step 1: Enable 2-Step Verification on Google Account​

  1. Go to https://myaccount.google.com
  2. Click "Security" from the left menu.
  3. Under "Signing in to Google", enable 2-Step Verification.

Gmail Security

  1. Complete the setup with your phone or other options.

Step 2: Create an App Password​

After enabling 2-Step Verification:

  1. Visit: https://myaccount.google.com/apppasswords
  2. Sign in if asked.
  3. Under "Select the app", choose Other (Custom name).
  4. Give it a name like "SMTP App" and click Generate.

App Password

  1. Google will show you a 16-character password — copy it. You'll use this as your SMTP password.

Generate Password

Example:​

InputValue
QUEUE_MAILSelect true / false, (If you select true, you need to run the following command: php artisan queue:work on server)
MAIL_DRIVER_TYPESelect MAIL MAILER / MAIL DRIVER
MAIL_DRIVERsmtp
MAIL_HOSTsmtp.gmail.com
MAIL_PORT587
MAIL_USERNAMEyour_email@gmail.com
MAIL_PASSWORDyour_app_password
MAIL_ENCRYPTIONtls
MAIL_FROM_ADDRESSyour_email@gmail.com
MAIL_FROM_NAMEYour project/app name
ଟିପ୍ପଣୀ

Set the values to System Settings → Mail Configuration

Gmail System Setting

ଟିପ୍ପଣୀ

If you want to know more details please follow their Official documentation. Here is also a youtube video link for reference.


← Settings | Index | Change Logs →