This SharePoint tutorial, we will discuss how to configure outgoing email settings using the Gmail account in SharePoint 2013/2016. Here we first need to configure SMTP service on Windows Server 2012 which will then send the Email. And then we will configure in SharePoint 2013/2016 to send email through a Gmail account.
Configure outgoing Email settings using Gmail in SharePoint
Open Server Manager and then click on Add roles and features under Configure this local server as shown in the fig below:
Then in the Add Roles and Features Wizard click on Next, In the Installation Type, select Role-based or feature-based installation. And then click on Next.
In the Server, selection select the server (default also selected) and then click on Next. Do not do anything in the Server Roles click Next to go to Features. There check the checkbox SMTP server Then it will ask for Add features that are required for SMTP server? Click on Add Features. And click on Install.
After this we do not need to do anything in this step, just wait for that to finish. Once finish, Put the cursor at the right corner of the windows server 2012 and there click on the Search Icon. In the search box type IIS and then Click on Internet Information Services (IIS) 6.0 Manager.
This will open Internet Information Services (IIS), 6.0 Manager, Expand the server and Right-click on SMTP Virtual Server and Select Start as shown in the fig below:
Again Right click on SMTP Virtual server click on Properties. This will open the [SMTP Virtual Server #1] properties dialog box.
In the General Tab, Click on Advanced… button and it will open the Identification dialog box, IP address (All Unassigned) and then in the TCP port put 587 and click on OK.
Then click on the Access tab from the [SMTP Virtual Server #1] properties dialog box. Here click on Authentication… button. Then in the Authentication dialog box, check the Anonymous access checkbox as shown in the fig below.
Then click on the Connections button and select the radio button All Except the list below and click on OK as shown in the fig below.
Then click on Relay… button.
Then in the Relay Restrictions dialog box select All Except the list below button as shown in the fig below and click on OK.
Then go to the Delivery tab and on the Delivery tab, click on Outbound Security, on the new window that opens select Basic Authentication and types your Gmail email and password in the Username and Password fields, and also select TLS encryption.
Then on the Delivery tab, click Outbound Connections… and in the new Outbound connections change TCP port to 587 as shown in the fig below:
Then in the Advanced… button, In the Delivery tab, click on Advanced… button and in the Advanced Delivery dialog box in the Smart host field type smtp.gmail.com and in the Fully-qualified domain name, give system name click OK as shown in the fig below.
Then click on Apply and OK.
But here POP should be enabled in Gmail Account. That we can find in Gmail -> Settings -> Forwarding and POP/IMAP.
Now Open SharePoint Central Administration then go to System Settings. And then Click on Configure outgoing e-mail settings as shown in the fig below:
Then in the Outgoing E-Mail Settings, give Outbound SMTP server as smtp.gmail.com, From address as: firstname.lastname@example.org and click on OK as shown in the fig below:
This finishes our configuration.
You may like following SharePoint tutorials:
- Windows Server 2012 DNS configuration step by step tutorial
- Configure Forward and Reverse lookup Zone in DNS in Windows Server 2012 R2
- Update User Email ID using PowerShell in SharePoint 2013/2016
- Send Email with jQuery and REST API in SharePoint
- Send email programmatically in SharePoint
- Read Outlook Emails and Add Email Content in SharePoint List
- How to configure incoming and outgoing emails in SharePoint server
- We are sorry but email can not be found in the site name directory visual studio 2015
I hope this SharePoint tutorial helps us to learn how to configure outgoing Email settings using Gmail in SharePoint 2013/2016.
I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SPGuides.com
Download SharePoint Online Tutorial PDF FREE!
Get update on Webinars, video tutorials, training courses etc.