|
You can delete unwanted e-mails by using the Action attribute of the <cfpop> tag. You can specify the e-mail to be deleted by using the Messagenumber attribute:
<!--- Deletemail.cfm template ---> <HTML> <HEAD><TITLE>Deleting a Mail -- Example</TITLE> </HEAD> <BODY> <!--- this will delete the 2nd and the 3rd e-mail ---> <CFPOP ACTION = "delete" SERVER = "mail@mailserer.com" PASSWORD = "abcd" MESSAGENUMBER = "2,3"> </BODY> </HTML>
Tip | When you delete the e-mail, the Messagenumber attribute is free and you can reassign it. You cannot reassign UIDs once they're set free. |
|