SlideShare a Scribd company logo
POP and IMAP mail protocol and
implementation with ColdFusion
 POP – Post Office Protocol.
 IMAP – Internet Message Access Protocol
 POP implementation with Coldfusion.
 IMAP implementation with Coldfusion.
POP – Post Office Protocol
 The Post Office Protocol (POP) is an application-layer Internet standard protocol
used by local e-mail clients to retrieve e-mail from a remote server over a TCP/IP
connection.
 POP allows the user to download messages one at a time and only deletes them
from the server after they have been successfully saved on local storage.
 It is possible to leave messages on the server to permit another user to access
them.
 There is no provision for flagging a specific message as seen, answered,
or forwarded.
 Thus POP is not convenient for users who access the same mail from different
machines or users.
 The POP protocol has been developed through several versions, with version 3
(POP3) being the current standard.
Advantages & Disadvantages of
POP
 Advantages
◦ Once all emails downloaded, you can view your email anytime you want on your
personal computer, even if you are NOT connected to the Internet.
◦ Emails are stored on your hard drive so they're not subject to server storage limits.
◦ POP is widely supported by Internet Service Providers(ISPs) and email providers.
 Disadvantages
◦ Emails are stored on your hard drive so they're not accessible from other computers.
◦ Once email is downloaded, it will not be available at other computers unless you
configure your email client to leave mail on the server. If email is left on the server, it
is more difficult to tell which emails you have read/not read when accessing from
another computer. You also will not be able to organize your email on the server.
◦ Since email is stored directly on your hard drive, if you have a hard drive failure your
messages will be lost.
◦ It is also more difficult to change email clients. (such as Eudora or Outlook) since
you will need to import/export mail into the new email client.
Internet Message Access
Protocol
 IMAP (Internet Message Access Protocol) is a standard protocol for
accessing e-mail from a remote server.
 In IMAP, You can also create and manipulate multiple folders or mailboxes on
the server, delete messages, or search for certain parts. or an entire note.
 IMAP is designed for the situation where you need to work with your email
from multiple computers, such as your workstation at work, your desktop
computer at home, or a laptop computer while traveling.
 There is provision for flagging a specific message as seen, answered,
or forwarded.
 The current version, IMAP version 4 revision 1 (IMAP4rev1).
Advantages & Disadvantages of
IMAP
 Advantages
◦ Messages are stored on the server are accessible from any computer and webmail
anywhere in the world.
◦ All email is stored and accessed directly from the server. If you happen to have a
hard drive crash or change email clients, your email will still be accessible when
using another computer.
◦ Since email stored on server it is easy to change email clients.
◦ Sent emails and drafts are also stored on the server.
 Disadvantages
◦ IMAP requires continual access to the server during the time that you are working
with your mail.
◦ Very few ISPs and email providers offer IMAP as it is considered a high end option
and it's complex for them to support.
Implementation with
ColdFusion
CFPOP
<cfpop server = "server name"
action = "getHeaderOnly|getAll|delete"
attachmentPath = "path"
debug = "yes|no"
generateUniqueFilenames = "yes|no"
maxRows = "number"
messageNumber = "number"
name = "query name"
password = "password"
port = "port number"
startRow = "number"
timeout = "seconds"
uid = "number"
username = "user name">
CFPOP
Column name getHeaderOnly returns getAll returns
Date yes yes
From yes yes
Messagenumber yes yes
Messageid yes yes
Replyto yes yes
Subject yes yes
Cc yes yes
To yes yes
Body no yes
textBody no yes
HTMLBody no yes
Header yes yes
Attachments no yes
Attachmentfiles no yes
UID yes yes
Cids no yes
CFIMAP
<cfimap action = “delete | deletefolder | createfolder | open | close | renamefolder |
listallfolders | markread | movemail | getall | getheaderonly"
attachmentpath = "string"
connection = "string"
folder = "string"
generateuniquefilenames = "yes|no"
maxrows = "integer"
messagenumber ="integer"
name = "string"
newfolder = "string"
password = "string"
port = "integer"
recurse = "true|false"
secure = "yes|no"
server = "IMAP server address"
startrow = "integer"
stoponerror = "true|false"
uid = "integer or comma-delimited list of integers"
username = “username">
CFIMAP
POP & IMAP with JAVA Mail
API
Thank You

More Related Content

PPTX
Mail POP vs IMAP
PPTX
Imap(internet massege access protocaols)
PPTX
Smtp, pop3, imapv 4
PPT
Mail server
PPTX
PPT
Mail server PPT By Mukesh
PPTX
Voice enable smtp client
PPTX
Internet mail server
Mail POP vs IMAP
Imap(internet massege access protocaols)
Smtp, pop3, imapv 4
Mail server
Mail server PPT By Mukesh
Voice enable smtp client
Internet mail server

What's hot (20)

PPT
retrieving the mail
PPT
connectivity utility
PPT
PPT
10135 a 05
PPTX
Email server system1.ppt
PPTX
Mail server using Linux(Ubuntu)
PPTX
E mail flow
PDF
E mail protocol - SMTP
PPTX
Information on protocols-email protocols
DOCX
How to simplify Email oriented workflow with - Visendo SMTP Extender
PPTX
Pop (post office protocol)e mail (electronic mail)
PPT
Webmail and Mail Clients
DOCX
DOC
Simple Mail Transfer Protocol
PDF
Email - Electronic Mail
ODP
BP108 Admin for the Developer -- Build and Secure Your Own IBM Lotus Domino S...
PDF
Unit 3 - Protocols and Client-Server Applications - IT
PDF
Async event based web server
PPT
Mail services
retrieving the mail
connectivity utility
10135 a 05
Email server system1.ppt
Mail server using Linux(Ubuntu)
E mail flow
E mail protocol - SMTP
Information on protocols-email protocols
How to simplify Email oriented workflow with - Visendo SMTP Extender
Pop (post office protocol)e mail (electronic mail)
Webmail and Mail Clients
Simple Mail Transfer Protocol
Email - Electronic Mail
BP108 Admin for the Developer -- Build and Secure Your Own IBM Lotus Domino S...
Unit 3 - Protocols and Client-Server Applications - IT
Async event based web server
Mail services
Ad

Viewers also liked (20)

PPTX
Simple Mail Transfer Protocol
PPTX
What is tcp
PPT
PPT
Smtp
PPTX
SMTP MULE
PPT
Smtp protocol
PDF
Nagios Conference 2013 - William Leibzon - SNMP Protocol and Nagios Plugins
PPT
Chap 20 smtp, pop, imap
PDF
TFTP - Trivial File Transfer Protocol
PPTX
Simple Network Management Protocol
PPTX
PPTX
User datagram protocol (udp)
PPTX
TCP- Transmission Control Protocol
PPTX
Http Vs Https .
PPTX
Simple Mail Transfer Protocol
PDF
UDP - User Datagram Protocol
PPTX
CCNA 1 Routing and Switching v5.0 Chapter 10
PPTX
File Transfer Protocol
PPTX
Film's Cool: Finding my Future presentation
Simple Mail Transfer Protocol
What is tcp
Smtp
SMTP MULE
Smtp protocol
Nagios Conference 2013 - William Leibzon - SNMP Protocol and Nagios Plugins
Chap 20 smtp, pop, imap
TFTP - Trivial File Transfer Protocol
Simple Network Management Protocol
User datagram protocol (udp)
TCP- Transmission Control Protocol
Http Vs Https .
Simple Mail Transfer Protocol
UDP - User Datagram Protocol
CCNA 1 Routing and Switching v5.0 Chapter 10
File Transfer Protocol
Film's Cool: Finding my Future presentation
Ad

Similar to CFIMAP & CFPOP (20)

DOCX
SMTP - SIMPLE MAIL TRANSFER PROTOCOL
PPT
Mail server
PDF
Lesson 6: Email on the Mac
PDF
Email as a datasource for applications
PPT
E-Mail - Technical Overview
PPTX
PPTX
Exchange 2010 Overview
PPTX
Point of preference (POP)
PPT
Microsoft Unified Communications - Introduction to Exchange Server 2010 (II) ...
PDF
SOCS E-mail Hosting
PDF
SOCS E-mail Hosting Services
PDF
SOCS E-mail Hosting Services
PPTX
On prem vs cloud exchange
DOC
finalreport1182014
PPT
Tcpip services and applications
PPTX
Electronic mail
PPTX
Email/Ad/Marketing 20100130
PPTX
Electronic mail protocols and operations
PPT
Chapter 8 E-Mail
PDF
Developing email client re mail for iphone, ipad and ipod on ios
SMTP - SIMPLE MAIL TRANSFER PROTOCOL
Mail server
Lesson 6: Email on the Mac
Email as a datasource for applications
E-Mail - Technical Overview
Exchange 2010 Overview
Point of preference (POP)
Microsoft Unified Communications - Introduction to Exchange Server 2010 (II) ...
SOCS E-mail Hosting
SOCS E-mail Hosting Services
SOCS E-mail Hosting Services
On prem vs cloud exchange
finalreport1182014
Tcpip services and applications
Electronic mail
Email/Ad/Marketing 20100130
Electronic mail protocols and operations
Chapter 8 E-Mail
Developing email client re mail for iphone, ipad and ipod on ios

CFIMAP & CFPOP

  • 1. POP and IMAP mail protocol and implementation with ColdFusion  POP – Post Office Protocol.  IMAP – Internet Message Access Protocol  POP implementation with Coldfusion.  IMAP implementation with Coldfusion.
  • 2. POP – Post Office Protocol  The Post Office Protocol (POP) is an application-layer Internet standard protocol used by local e-mail clients to retrieve e-mail from a remote server over a TCP/IP connection.  POP allows the user to download messages one at a time and only deletes them from the server after they have been successfully saved on local storage.  It is possible to leave messages on the server to permit another user to access them.  There is no provision for flagging a specific message as seen, answered, or forwarded.  Thus POP is not convenient for users who access the same mail from different machines or users.  The POP protocol has been developed through several versions, with version 3 (POP3) being the current standard.
  • 3. Advantages & Disadvantages of POP  Advantages ◦ Once all emails downloaded, you can view your email anytime you want on your personal computer, even if you are NOT connected to the Internet. ◦ Emails are stored on your hard drive so they're not subject to server storage limits. ◦ POP is widely supported by Internet Service Providers(ISPs) and email providers.  Disadvantages ◦ Emails are stored on your hard drive so they're not accessible from other computers. ◦ Once email is downloaded, it will not be available at other computers unless you configure your email client to leave mail on the server. If email is left on the server, it is more difficult to tell which emails you have read/not read when accessing from another computer. You also will not be able to organize your email on the server. ◦ Since email is stored directly on your hard drive, if you have a hard drive failure your messages will be lost. ◦ It is also more difficult to change email clients. (such as Eudora or Outlook) since you will need to import/export mail into the new email client.
  • 4. Internet Message Access Protocol  IMAP (Internet Message Access Protocol) is a standard protocol for accessing e-mail from a remote server.  In IMAP, You can also create and manipulate multiple folders or mailboxes on the server, delete messages, or search for certain parts. or an entire note.  IMAP is designed for the situation where you need to work with your email from multiple computers, such as your workstation at work, your desktop computer at home, or a laptop computer while traveling.  There is provision for flagging a specific message as seen, answered, or forwarded.  The current version, IMAP version 4 revision 1 (IMAP4rev1).
  • 5. Advantages & Disadvantages of IMAP  Advantages ◦ Messages are stored on the server are accessible from any computer and webmail anywhere in the world. ◦ All email is stored and accessed directly from the server. If you happen to have a hard drive crash or change email clients, your email will still be accessible when using another computer. ◦ Since email stored on server it is easy to change email clients. ◦ Sent emails and drafts are also stored on the server.  Disadvantages ◦ IMAP requires continual access to the server during the time that you are working with your mail. ◦ Very few ISPs and email providers offer IMAP as it is considered a high end option and it's complex for them to support.
  • 7. CFPOP <cfpop server = "server name" action = "getHeaderOnly|getAll|delete" attachmentPath = "path" debug = "yes|no" generateUniqueFilenames = "yes|no" maxRows = "number" messageNumber = "number" name = "query name" password = "password" port = "port number" startRow = "number" timeout = "seconds" uid = "number" username = "user name">
  • 8. CFPOP Column name getHeaderOnly returns getAll returns Date yes yes From yes yes Messagenumber yes yes Messageid yes yes Replyto yes yes Subject yes yes Cc yes yes To yes yes Body no yes textBody no yes HTMLBody no yes Header yes yes Attachments no yes Attachmentfiles no yes UID yes yes Cids no yes
  • 9. CFIMAP <cfimap action = “delete | deletefolder | createfolder | open | close | renamefolder | listallfolders | markread | movemail | getall | getheaderonly" attachmentpath = "string" connection = "string" folder = "string" generateuniquefilenames = "yes|no" maxrows = "integer" messagenumber ="integer" name = "string" newfolder = "string" password = "string" port = "integer" recurse = "true|false" secure = "yes|no" server = "IMAP server address" startrow = "integer" stoponerror = "true|false" uid = "integer or comma-delimited list of integers" username = “username">
  • 11. POP & IMAP with JAVA Mail API