How can I delete email messages from a mail server?
Use <cfpop> with the action attribute set to 'delete' and the messagenumber attribute or uuid attribute set to the message you wish to delete.
<cfpop
action="delete"
server="SERVER_NAME"
username="USERNAME"
password="PASSWORD"
messagenumber="MESSAGENUMBER"
action="delete"
server="SERVER_NAME"
username="USERNAME"
password="PASSWORD"
messagenumber="MESSAGENUMBER"
This entry was based on a suggestion by Stefan Leroux
This question was written by Jeremy Petersen.
It was last updated on July 17, 2008 at 10:05:06 AM EDT.
CFML Referenced
Categories
Comments
There are no comments for this entry.