This article explains how to configure Gmail settings in SharePoint 2013.
Open server managerFigure 1: Server ManagerFrom the Features tab, click Add Features.Figure 2: Add Feature From this list select SMTP Server.Figure 3: Select SMTP ServerClick Next and then Install to complete.Figure 4: Click Install to CompleteFigure 5: Install ProgressInstallation SucceededFigure 6:Installation SuccessfullClick Close.Open Windows servicesCheck that the SMTP service has been started.Figure 7: Open Windows servicesNow open IIS 6.0 Manager.Figure 8: Now open IIS 6.0 ManagerRight-click on the SMTP Server and click Properties.Figure 9: Click PropertiesIn the General tab under IP address select your local IP address.Figure 10: Select your local IPAddressOn the Access tab, go to Connection.Select All.Figure 11: ConnectionDo the same for Relay.Figure 12: Do the same for RelayClick the Delivery Tab.Figure 13: Delivery TabClick OutBound Security.Click Basic Authentication.Enter your email address and password.Figure 14: Address and PasswordEnable TLS encryption and click OK.Figure 15: Enable TLS encryptionOpen Outbound SecurityChange TCP Port from 25 to 587.Figure 16: Change TCP Port fromClick the Advanced Tab, go to Smart host and write smtp.gmail.comFigure 17: smtp.gmail.comClick Apply and then OK.Open SharePoint Central Administration.Figure 18: Open SharePoint Central AdministrationClick System Settings.Open Configure outgoing email settings.Figure 19: Configure outgoing email settingsEnter Outgoing E-mail Settings and click OK.Figure 20: Happy SharePoint
Configure MinRole Search and Cloud Hybrid Features in SharePoint Server 2016 and Office 365