SMTP for sending email OTP

mbox sign-in portal supports user self-registration via email, and sends email OTP and validation link to a valid email address (see live demo).

The OTP email can be sent by mbox default SMTP server (which is using gmail with account info@ransnet.com) or by customer's own/custom SMTP email server.

To configure custom SMTP mail server,

- go to CMS, click on the target portal setting, under login method, enable Email Registration.

- In Email Registration collapsible tab, this is where you are going to input your SMTP Details. See screenshot:

2017-05-05_1038.png

Example For GMAIL SMTP Setup:

    • HOST: smtp.gmail.com
    • USERNAME: your_email_address@gmail.com
    • PASSWORD: your_email_password
    • SMTP Secure
      • TLS - Transport Layer Security
      • SSL - Secure Sockets Layer
    • Port
      • TLS - use Port 587
      • SSL - use Port 465

NOTES FOR GMAIL SMTP: ( ***** IMPORTANT ******)

Need to allow the less secure apps to access the account so that you can use the gmail smtp

(https://support.google.com/accounts/answer/6010255?hl=en)

    1. Go to the "Less secure apps" section in My Account.
      1. https://www.google.com/settings/u/0/security/lesssecureapps
    2. Next to "Access for less secure apps," select Turn on. (Note to G Suite users: This setting is hidden if your administrator has locked less secure app account access.)
    3. If you have 2-Step Verification enabled in your gmail account, you need to create an App specific password. Here is the link on how to do it:
    4. https://www.lifewire.com/get-a-password-to-access-gmail-by-pop-imap-2-1171882