Configuring Gmail as SMTP mail server

Configuring Gmail as SMTP mail server

ADSelfService Plus allows you to use Gmail as an SMTP-SMS server to send notifications, OTP, and more to your users. Gmail offers it as a free service and can be used to send unlimited emails.

Steps to configure ADSelfService Plus to use Gmail as your mail server:

  1. Login to ADSelfService Plus with the administrator credentials.
  2. Navigate to AdminProduct SettingsServer Settings.
  3. In the Server Settings page, click the Mail Settings tab.
  4. Enter smtp.gmail.com as the mail server and 587 as the port number. (Refer Image)
  5. In the From address field, enter the Gmail address from which you would like to receive the mails.
  6. Click Advanced Settings.
  7. Enter your Gmail ID and the app password which you generated. (Refer note)
  8. Select TLS from the drop-down list.
  9. Send a test mail to check if the configuration is done correctly.
  10. Click Save.
Note:
  1. Port 587 must be kept open to allow outgoing communications.
  2. An app password is a 16-digit passcode that gives an app or device permission to access your Google Account during SMTP authentication.

Steps to generate an app password:

  1. Login to the Gmail account.
  2. Click on the Google apps icon on the top right-hand corner.
  3. Select My Account option.
  4. In the My Account page, select Sign-in & Security.
  5. Navigate to Signing in to Google option.
  6. Click on App passwords option in the password & sign-in method section and You will be asked to sign into your Google Account. This app password can be generated only when two-step verification process is enabled for your account.
  7. In the App passwords page that appears, click Select app and choose the Other (customized name) option.
  8. Click Generate and an app password will be created.
  9. Send a test message to check if the configuration is done correctly.

                  New to ADSelfService Plus?