📜  IMAP 和 SMTP 的区别

📅  最后修改于: 2021-09-28 09:32:54             🧑  作者: Mango

1.互联网消息访问协议(IMAP):
它是一个应用层协议,作为从邮件服务器接收电子邮件的合同。它被设计为远程访问邮箱协议,IMAP 的当前版本是 IMAP4。它被用作检索电子邮件的最常用协议。该术语也称为 Internet 邮件访问协议、交互式邮件访问协议和临时邮件访问协议

IMAP 的特点:

  • 它能够管理多个邮箱并将它们组织成各种类别。
  • 提供添加消息标志以跟踪正在查看哪些消息。
  • 它能够在下载之前决定是否从邮件服务器检索电子邮件。
  • 当附加多个文件时,它可以轻松下载媒体。  

2.简单邮件传输协议(SMTP)
它是一种协议,用于使用电子邮件地址将通信信息从一台计算机发送到另一台计算机。 SMTP 用于设置服务器之间的通信规则。它提供多种通信模式,例如向多个客户端发送一条消息、发送音频、视频文件等。它提供错误处理功能和对错误消息的回复。

SMTP的特点:

  • 它广泛用于“邮件中继”,其中电子邮件从一个 SMTP 服务器路由到另一个服务器以到达其目的地。
  • 它还提供检查消息中的错误并对其采取措施的功能。
  • 它为邮件转发提供了某些条件,包括用户更改其电子邮件地址。
  • SMTP 服务器提供配置为电子邮件网关的功能。

IMAP 和 SMTP 的区别:

S.No.

IMAP

SMTP

1. It is short for Internet Message Access Protocol. It is short for Simple Mail Transfer Protocol.
2. Designed by Mark Crispin in 1986.  Designed by RFC 821 in 1982.
3. It is used for retrieving emails. It is used for sending emails.
4. It only functions between client and server for communication. It functions between servers for the transfer of information.
5. The Port number used for IMAP is 143 and 993. The Port number used for SMTP is 25 and 465.
6. It works as message transfer agent between user and server. It works as message transfer agent between servers
7. Users can organize mails onto the server. Users can organize mails on client storage.
8. It offers multiple change flexibility across all the devices It offers the email to be changes after being sent successfully.