Deleting E-Mail


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.




Macromedia ColdFusion MX. Professional Projects
ColdFusion MX Professional Projects
ISBN: 1592000126
EAN: 2147483647
Year: 2002
Pages: 200

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net