Author: Steven Neiland
Published:

Warning: This blog entry was written two or more years ago. Therefore, it may contain broken links, out-dated or misleading content, or information that is just plain wrong. Please read on with caution.

Quick-tip: If you ever want to clear the list of undelivered mail in the ColdFusion admin you will quickly become frustrated by the fact that you can only delete 10 at a time. Fortunately there is an easy way to delete everything in one go (provided you have access to the server file system).

Delete mail from the file system

ColdFusion stores all its undelivered and spooled email as files. So open up the file system and navigate to the coldfusion install directory and locate the following folder.

{coldfusion install directory}\cfusion\Mail\Undelivr

Inside this folder are all the files relating to undelivered emails. Simply delete them all and you are done.

Alternative Method: Use SpoolMail

An alternative method to use if you don't have access to the servers file system is to use spoolmail.

This handy plugin allows to you quickly respool email or delete them from the queue much faster than using the normal admin controls. This also comes in very handy for development testing.

What Do You Think?

Reader Comments

Post a Comment

Comment Etiquette:

  • Please keep comments on-topic.
  • Please do not post unrelated questions or large chunks of code.
  • Please do not engage in flaming/abusive behaviour.
  • Comments that contain or appear to be advertisments, will not be published.
  • Comments that appear to be created for the purpose of linkbuilding to commercial sites will be removed.

We are all adults here so play nice.

*
*



Archives Blog Listing

Tag Listing

Learn CF In A Week

Treehouse

 
Fork me on GitHub