SMTP configuration

SMTP configuration form cPanel

To send the confirmation email and forgot password functionality you have to configure a SMTP server.

  1. Login to your cPanel. Find Email Accounts.
  2. Click Create
  3. Fill up the form and create an email account. Copy the password
  4. Click connected device
  5. Here is two sections for the setting. Use SSL if you have SSL in your server other wise use non-ssl. Save all the data for later use.

Google SMTP server configuration

You can use Google's SMTP server for free.

  1. Login to your Gmail account.
  2. Then visit the link: https://myaccount.google.com/security
  3. In the security page, turn on the 2-step verification.
  4. Select App Passwords. You may need to sign in. If you don’t have this option, it might be because:
    • 2-Step Verification is not set up for your account.
    • 2-Step Verification is only set up for security keys.
    • Your account is through work, school, or other organization.
    • You turned on Advanced Protection.
  5. At the bottom, choose Select Mail for app and choose Select Other(Custom name) for device and then Generate.
  6. The App Password is the 16-character code in the yellow bar on your device.
  7. Save the password for later use.
  8. Tap Done.
  9. Also visit the link: https://accounts.google.com/b/0/DisplayUnlockCaptcha
  10. Enable it.

Setting the SMTP configuration

Now it's time to put the SMTP configuration in the server

  1. Log in to your admin panel.
  2. Go to Settings > SMTP Setting
  3. Change the SMTP Host, SMTP Port, SMTP Encryption, SMTP Username, SMTP Password and Mail From.
    • SMTP Host: Name of the host. eg. smtp.yourdomain.com. For google the host will be smtp.google.com
    • SMTP Port: SMTP port address. Usually, non SSL port is 587 and SSL port is 465
    • SMTP Username: Username is the email address is being used to configure the SMTP server. eg. noreply@gmail.com. For google, use the gmail address here.
    • SMTP Password: Password set while configure the SMTP server.
    • SMTP Encryption: Usually, non SSL is tls and SSL is ssl.
    • Mail From: the email address is being used to configure the SMTP server. eg. noreply@gmail.com. For google, use the gmail address here.

Clearing cache

Now it's time to clear the cache of the backend.

  1. Open admin.yourdomain.com/api/clear-cache in the browser. Cache has been cleared.

You can also clear the cache from the admin panel also.

  1. Login to your Admin panel.
  2. Go to Setting > Clear cache.
  3. And click Clear cache button. Cache has been cleared.