Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / productivity / SharePoint

Configure outgoing e-mail settings with Office 365 SMTP server in SharePoint Server 2013 – Part 4

0.00/5 (No votes)
3 Apr 2015CPOL2 min read 9.9K  
Configure Outgoing e-mail settings in SharePoint 2013 Central Administration - part 1 Configure Outgoing e-mail settings with existing email sever in SharePoint Server 2013 - part 2 Configure Outgoing e-mail settings with Gmail/Google SMTP server with SharePoint Server 2013 - part 3 Configure

First check the SMTP server is installed in the server. You can check that on Server Manger and Features section.

image_thumb9_thumb_thumb

If it is not installed first you need to install the SMTP in the server. SMTP server needs port 25 opens in the firewall in default.

After setting up the SMTP server you need to open the IIS Manger.

image_thumb12_thumb_thumb

before stating the SMTP Virtual server need to configure some properties. Right click the SMTP virtual Server and click on the Access Tab. Click on Relay.. button on the Relay restrictions.

image_thumb15_thumb_thumb

This section specified which server can use the SMTP for mail relay. So either you need to select Only the list below and add IP Addresses of all server which used to send the emails (ex:-WFE, APP) or let all servers to send emails by All except the list below and putting nothing on the list.

image_thumb19_thumb_thumb

Then Click on Authentication.. button on Access Control section and make the checkbox for Anonymous access.

image_thumb22_thumb_thumb

Then click ok and go to the Delivery Tab.

image_thumb[2]_thumb

Outbound Security section allows you to provide credential for receiving server. Since we are using local SMTP server you can make this as a Basic authentication and type your User name and Password and click the TLS encryption.

image_thumb[3]

Outbound Connection section you can change the default port using.

image_thumb[6]

Advanced.. section you need specify the Smart host for forwarding the email for Gmail SMTP server (smtp.gmail.com).

You can route all outgoing messages for remote domains through a smart host instead of sending them directly to the domain. This permits you to route messages over a connection that may be more direct or less costly than other routes. The smart host is similar to the route domain option for remote domains. The difference is that after a smart host is designated, all outgoing messages are routed to that server. With a route domain, only messages for the remote domain are routed to a specific server.

image_thumb[9]

You can find the Gmail SMTP server settings here.

Then start the SMTP virtual server.

image_thumb[19]_thumb

After that you can find the fully qualified name in General Tab and proceed with the Outbound SMTP settings as Part 1.

image_thumb[16]_thumb

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)