Configure outgoing e-mail settings with Gmail/Google SMTP server in SharePoint Server 2013 – Part 3

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

http://lh4.ggpht.com/-8kEtoqkNW88/VR1oHN4-tUI/AAAAAAAAD4w/2rlwgtUIoTk/image_thumb9_thumb_thumb.png?imgmax=800

You will (obviously) need to install SMTP on the server if it isn't installed already. SMTP server needs port 25 open in the firewall in default.

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

http://lh6.ggpht.com/-7_wPDMIliCQ/VR1oIeuvB-I/AAAAAAAAD5A/99KbXfEXY3I/image_thumb12_thumb_thumb.png?imgmax=800

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

http://lh5.ggpht.com/-i2B31Dq3AeY/VR1oJi6tsbI/AAAAAAAAD5Q/LiNyYSSh16Y/image_thumb15_thumb_thumb.png?imgmax=800

This section specifies 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 in the list.

http://lh4.ggpht.com/-79FN6oi1xeE/VR1oLM0iy3I/AAAAAAAAD5g/9mYQhP8EFd4/image_thumb19_thumb_thumb.png?imgmax=800

Then click the Authentication.. button on Access Control section and set the checkbox for Anonymous access.

http://lh3.ggpht.com/-ZnH8XMniRtY/VR1oMB1xIvI/AAAAAAAAD5w/KGEJI3t3UTM/image_thumb22_thumb_thumb.png?imgmax=800

Then click OK and go to the Delivery Tab.

http://lh5.ggpht.com/-q9KLHB3EYdg/VR1oNVJa66I/AAAAAAAAD6A/ebAfJ1eYDHs/image_thumb%25255B2%25255D_thumb.png?imgmax=800

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

http://lh3.ggpht.com/-1MgXiXr2GuA/VR1oOmZ7phI/AAAAAAAAD6Q/SXo-v495xzM/image_thumb%25255B3%25255D.png?imgmax=800

Outbound Connection section you can change the default port.

http://lh5.ggpht.com/-sTtfTejO6Jo/VR1oQTgmpnI/AAAAAAAAD6g/fkrZHy8OV4M/image_thumb%25255B6%25255D.png?imgmax=800

Advanced.. section you need specify the Smart host for forwarding the email to 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.” (kb303734)

http://lh3.ggpht.com/-Z3nNs4n-TaI/VR1oRk27SPI/AAAAAAAAD6w/Onq-z-pvum4/image_thumb%25255B9%25255D.png?imgmax=800

You can find the Gmail SMTP server settings here.

Then start the SMTP virtual server.

http://lh4.ggpht.com/-cCIdSy8JMBk/VR1oS_Pnf_I/AAAAAAAAD7A/hoMP8fTczeU/image_thumb%25255B19%25255D_thumb.png?imgmax=800

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

http://lh3.ggpht.com/-lNx7tPv9J84/VR1oT_lCcPI/AAAAAAAAD7Q/Hl8aDR0hd_s/image_thumb%25255B16%25255D_thumb.png?imgmax=800