In this article I have explained how to configure outgoing email in sharepoint server 2016 using SMTP Services

Open server manager

Click manage -> Add roles and features

Select “Role based or feature based installation”

Click Next

Click Next to continue

Click Next

In the feature popup “Check SMTP Server” listed in the feature

Click Next

Now Proceed to install

After suceessfull installtion “Restart the destination server if required”

Click Close

Click Start -> Open IIS Manage for configure SMTP Virual Server

Right on the SMTP Virtual Server -> Click Properties

Click on authentication “Check anonymous”

Click Ok

Click on the connection ”Check All except the list below”

Do the same for relay

Click on the Message tab set “Limited message size is 10240”

Click on the “Delivery” tab

Open “Outbound security”

Click Basic authentication

Provide the email and password from providers (Ex: Outlook,Gmail,Yahoo)

Open “Outbound connections”

Provide the TCP Port 587

Note:- Port number will be different for different email providers

Click Ok

Click Advanced

Check FQDN is valid

Provide the smtp host of your email provider

Click Ok

Open Service.msc

Restart the “Simple mail transfer protocol service”

Now open sharepoint central administration

Click on System settings-> Configure outgoing e-mail settings

Provide the Outbound SMTP Server

From address and reply-to-address

SMTP Port and TLS Encryption

Click Ok

Now you create/Manage alerts in a list and libraries