To explain this in simpler words, a SMTP server, works like a router, as it receives outgoing mail messages from users and routes them to the intended recipients. It makes use of either the Simple Mail Transfer Protocol or Unix sendmail program. Often the mail messages have to pass through a number of servers to reach their destinations.