> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://helpdesk.gbnetwork.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# What is SMTP?

| Overview

Your ability to send and receive emails is largely due to 3 **TCP** protocols: **SMTP, IMAP, and POP3**.


**SMTP**

Start with **SMTP** because its primary function is different from the other two.

**SMTP** or _Simple Mail Transfer Protocol_ is mostly used for sending out email from an email client (e.g. __Microsoft Outlook, Thunderbird, or Apple Mail__) to an email server.

It's also used for relaying or forwarding mail messages from one mail server to another.

The ability to relay messages from one server to another is necessary if the sender and recipient have different email service providers.

![](https://storage.crisp.chat/users/helpdesk/website/67938060e89a4400/smtp_15iqx8c.png)

**SMTP**, which is specified in **RFC 5321**, uses port 25 by default.

It may also use port 587 and port 465.

The latter, which was introduced as the port of choice for secure **SMTP** (a.k.a. **SMTPS**), is supposed to be deprecated.

But in reality, it's still being used by some mail service providers.

Now that you have a basic understanding of **SMTP**.