Why UDP is not a suitable option for Email application? Explain the working of SMPT in detail.
Answers
Answer:
SMTP is a text oriented protocol that can transmit a large chunk of text or multiple emails in one session, it mostly uses TLS today. UDP does not support communication channels, so SMTP is suited for TCP.
A typical SMTP dialogue looks like this:
- HELO clienthost
- 220 serverhost ready
- MAIL FROM:<[email protected]>
- 220 OK
- RCPT TO:<[email protected]>
- 220 OK
- RCPT TO:<[email protected]>
- 220 OK
- DATA
- Subject: testmail
- From: [email protected]
Explanation:
SMTP is a text oriented protocol that can transmit a large chunk of text or multiple emails in one session, it mostly uses TLS today. UDP does not support communication channels, so SMTP is suited for TCP.
A typical SMTP dialogue looks like this:
HELO clienthost
220 serverhost ready
MAIL FROM:<[email protected]>
220 OK
RCPT TO:<[email protected]>
220 OK
RCPT TO:<[email protected]>
220 OK
DATA
Subject: testmail
From: [email protected]
HOPE IT WILL HELP YOU
PLEASE MARK ME AS A BRAINLIST