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 ADManager Plus?

                    New to ADSelfService Plus?

                      • Related Articles

                      • How to configure mail server in ADSelfService Plus with TLS / SSL?

                        All communication between ADSelfService Plus and your mail server can be secured with either Transport Layer Security (TLS) or Secure Sockets Layer (SSL) protocol. Mail server requirements: TLS or SSL must be enabled in the mail server. The mail ...
                      • How to configure custom SMS provider in ADSelfService Plus?

                        ADSelfService Plus lets you use any one of the following methods to send an SMS: GSM modem Clickatell (built-in support) Custom SMS gateway Configuring custom SMS gateway You can configure a custom SMS gateway to send notifications and verification ...
                      • Configuring high availability in ADSelfService Plus

                        ADSelfService Plus utilizes automatic failover to support high availability in case of system and product failures. Essentially, this means that when the ADSelfService Plus service on one machine fails, another instance of ADSelfService Plus running ...
                      • Encryption and data storage in ADSelfService Plus database

                        Encryption in the ADSelfService Plus database ADSelfService Plus' database uses the following encryption methods to store sensitive data: Database Encryption method PostgreSQL AES-256-CBC Microsoft SQL AES-256-CBC The following sensitive information ...
                      • Set up downtime notifications to instantly identify service interruption

                        ADSelfService Plus can notify admins via email when it stops running due to service stoppage or when someone shuts it down for maintenance. With this notification, you can immediately take corrective actions, and get ADSelfService Plus up and ...