<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://lms.onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=SMTP%2C_POP3%2C_IMAP_Protocols_%28en%29</id>
	<title>SMTP, POP3, IMAP Protocols (en) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://lms.onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=SMTP%2C_POP3%2C_IMAP_Protocols_%28en%29"/>
	<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=SMTP,_POP3,_IMAP_Protocols_(en)&amp;action=history"/>
	<updated>2026-04-26T02:27:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://lms.onnocenter.or.id/wiki/index.php?title=SMTP,_POP3,_IMAP_Protocols_(en)&amp;diff=70997&amp;oldid=prev</id>
		<title>Unknown user: Created page with &quot;=Simple Explanation of How SMTP, POP3, and IMAP Protocols Work=  ==Main Differences:==  * &#039;&#039;&#039;SMTP:&#039;&#039;&#039; Used only for sending emails. * &#039;&#039;&#039;POP3:&#039;&#039;&#039; Downloads emails to a local d...&quot;</title>
		<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=SMTP,_POP3,_IMAP_Protocols_(en)&amp;diff=70997&amp;oldid=prev"/>
		<updated>2024-10-20T12:23:46Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=Simple Explanation of How SMTP, POP3, and IMAP Protocols Work=  ==Main Differences:==  * &amp;#039;&amp;#039;&amp;#039;SMTP:&amp;#039;&amp;#039;&amp;#039; Used only for sending emails. * &amp;#039;&amp;#039;&amp;#039;POP3:&amp;#039;&amp;#039;&amp;#039; Downloads emails to a local d...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Simple Explanation of How SMTP, POP3, and IMAP Protocols Work=&lt;br /&gt;
&lt;br /&gt;
==Main Differences:==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;SMTP:&amp;#039;&amp;#039;&amp;#039; Used only for sending emails.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;POP3:&amp;#039;&amp;#039;&amp;#039; Downloads emails to a local device and deletes them from the server (if configured that way).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;IMAP:&amp;#039;&amp;#039;&amp;#039; Synchronizes emails between the server and various devices, allowing access from anywhere.&lt;br /&gt;
&lt;br /&gt;
==Simple Interaction Examples:==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Sending email:&amp;#039;&amp;#039;&amp;#039; Using SMTP.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Reading email:&amp;#039;&amp;#039;&amp;#039; Using POP3 or IMAP.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Retrieving email:&amp;#039;&amp;#039;&amp;#039; Using IMAP (to download emails to a local device without deleting them from the server).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; The handshake examples above are a very simplified version. In practice, these protocols have many more complex commands and responses.&lt;br /&gt;
&lt;br /&gt;
==SMTP (Simple Mail Transfer Protocol)==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Function:&amp;#039;&amp;#039;&amp;#039; Used for &amp;#039;&amp;#039;&amp;#039;sending&amp;#039;&amp;#039;&amp;#039; emails.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;How it works:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# The email client (e.g., Outlook, Gmail) sends an email to the SMTP server.&lt;br /&gt;
# The SMTP server checks the email, ensures the destination address is valid, and adds the necessary headers.&lt;br /&gt;
# The SMTP server forwards the email to the destination server.&lt;br /&gt;
# The destination server stores the email in the recipient&amp;#039;s inbox.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Example handshake:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 Client: HELO mydomain.com  &lt;br /&gt;
 Server: 250 mydomain.com, pleased to meet you  &lt;br /&gt;
 Client: MAIL FROM:&amp;lt;[email address removed]&amp;gt;  &lt;br /&gt;
 Server: 250 OK  &lt;br /&gt;
 Client: RCPT TO:&amp;lt;[email address removed]&amp;gt;  &lt;br /&gt;
 Server: 250 OK  &lt;br /&gt;
 Client: DATA  &lt;br /&gt;
 Server: 354 Go ahead  &lt;br /&gt;
 Client: (email content)  &lt;br /&gt;
 Client: .  &lt;br /&gt;
 Server: 250 OK  &lt;br /&gt;
&lt;br /&gt;
==POP3 (Post Office Protocol version 3)==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Function:&amp;#039;&amp;#039;&amp;#039; Used for &amp;#039;&amp;#039;&amp;#039;downloading&amp;#039;&amp;#039;&amp;#039; emails from the server to the client device.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;How it works:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# The email client connects to the POP3 server.&lt;br /&gt;
# The client downloads all unread emails or selected emails.&lt;br /&gt;
# The client usually deletes emails from the server after downloading (unless configured to keep a copy).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Example handshake:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 Client: USER username  &lt;br /&gt;
 Server: +OK Password required  &lt;br /&gt;
 Client: PASS password  &lt;br /&gt;
 Server: +OK user is authenticated  &lt;br /&gt;
 Client: STAT  &lt;br /&gt;
 Server: +OK 2 500  &lt;br /&gt;
 Client: RETR 1  &lt;br /&gt;
 Server: +OK 500 octets  &lt;br /&gt;
 (Server sends the email content)  &lt;br /&gt;
 Client: DELE 1  &lt;br /&gt;
 Server: +OK message 1 deleted  &lt;br /&gt;
 Client: QUIT  &lt;br /&gt;
 Server: +OK POP3 server signing off  &lt;br /&gt;
&lt;br /&gt;
==IMAP (Internet Message Access Protocol)==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Function:&amp;#039;&amp;#039;&amp;#039; Used for &amp;#039;&amp;#039;&amp;#039;accessing&amp;#039;&amp;#039;&amp;#039; emails from various devices. Emails remain stored on the server and can be accessed from anywhere.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;How it works:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# The email client connects to the IMAP server.&lt;br /&gt;
# The client can choose to download the entire email, just the headers, or only unread emails.&lt;br /&gt;
# Changes made to emails (e.g., marked as read, moved to another folder) will be synchronized with the server.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Example handshake:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 Client: A001 CAPABILITY  &lt;br /&gt;
 Server: * CAPABILITY IMAP4rev1 CHILDREN IDLE NAMES STARTTLS UIDPLUS  &lt;br /&gt;
 Server: A001 OK CAPABILITY completed  &lt;br /&gt;
 Client: A002 LOGIN username password  &lt;br /&gt;
 Server: A002 OK Logged in  &lt;br /&gt;
 Client: A003 SELECT INBOX  &lt;br /&gt;
 Server: * 1 EXISTS  &lt;br /&gt;
 Server: * 2 RECENT  &lt;br /&gt;
 Server: * FLAGS (\Seen \Answered \Flagged \Deleted \Draft)  &lt;br /&gt;
 Server: A003 OK [READ-WRITE] Selected  &lt;br /&gt;
 Client: A004 FETCH 1:2 ALL  &lt;br /&gt;
 Server: * 1 FETCH (FLAGS (\Seen) INTERNALDATE &amp;quot;14-Aug-2012 10:45:01 +0100&amp;quot; RFC822 {...})  &lt;br /&gt;
 Server: * 2 FETCH (FLAGS (\Recent) INTERNALDATE &amp;quot;14-Aug-2012 10:46:01 +0100&amp;quot; RFC822 {...})  &lt;br /&gt;
 Server: A004 OK FETCH completed  &lt;br /&gt;
&lt;br /&gt;
==Conclusion:==&lt;br /&gt;
&lt;br /&gt;
SMTP, POP3, and IMAP are complementary protocols in the email system. SMTP is responsible for sending, POP3 for downloading, and IMAP for synchronization and access from various devices.&lt;br /&gt;
&lt;br /&gt;
==Interesting Links==&lt;br /&gt;
&lt;br /&gt;
* [[Forensic: IT]]&lt;br /&gt;
* https://www.rfc-editor.org/info/rfc788&lt;/div&gt;</summary>
		<author><name>Unknown user</name></author>
	</entry>
</feed>