<cfpop>
Retrieves and deletes e-mail messages from a POP mail server.
This tag cannot have a body.
This tag is also supported within <cfscript>
<cfpop
connection=string
server=string
uid=string
port=number
username=string
password=string
secure=boolean
action=getHeaderOnly|getAll|delete
name=string
messagenumber=string
attachmentpath=string
timeout=number
debug=boolean
maxrows=number
startrow=number
generateuniquefilenames=boolean
>
Unimplemented Attribute(s)
Attribute | Description | Default |
---|---|---|
debug
boolean,
optional
|
this attribute is deprecated and ignored, log control happens via the logging framework directly. * deprecated * |
Examples
Action getAll
<cfpop action="getAll" username="#username#" password="#password#" server="#server_name#" uid="#uid#" name="res">
<cfdump var="#res#" />
<cfpop action="getAll" username="#username#" password="#password#" server="pop.mail.com" port="995" secure="true" name="message"
maxrows = "15" attachmentpath="#expandpath('./')#">
<cfdump var="#message#" />
Action getHeaderOnly
<cfpop action="getHeaderOnly" username="#username#" password="#password#" server="pop.mail.com" name="getHeader">
<cfdump var="#getHeader#" />
Action delete
<cfpop action="delete" username="#username#" password="#password#" server="pop.mail.com" uid="1RaJA7-1ioN2e27mu-00thu">
See also
- Internet Protocols
- <cfimap>
- <cfmail>
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)