Skip to content
SpoolMail lets you quickly access emails stored in the undelivered folder on a ColdFusion server. It is useful for testing emails sent out by an application on a development box.
ColdFusion
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
images
Application.cfm
bottom.cfm
cfbextension.zip
download.cfm
index.cfm
install.doc
install.pdf
readme.txt
top.cfm
udf.cfm

readme.txt

LICENSE 
Copyright 2006-2010 Raymond Camden

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
   
   
If you find this application worthy, I have a Amazon wish list set up (www.amazon.com/o/registry/2TCL1D08EZEYE ). Gifts are always welcome. ;)
Install directions may be found in install.doc/pdf.

Last Updated: November 8, 2010 (Version 2.003)
Giampiero Bonifazi found a BAD bug in top.cfm that would throw an error on refresh.
If you use the CFB extension, be sure to update your copy there as well.

Last Updated: October 21, 2010 (Version 2.002)
UI updates again by Craig Rosenblum. From his notes:
1. Being able to delete individual email messages at a time.
2. changed from tr onclick to td onclick for every row but the checkbox, so that when you click on the checkbox or near it, it won't cause a message to be displayed.


Last Updated: October 21, 2010 (Version 2.001)
Scott Stroz suggested I tweak where the extension shows up - good point - it can now be evoked from project view as well.

Last Updated: October 21, 2010 (Version 2)
New UI by Craig Rosenblum
Extension support by John Ramon


Last Updated: April 8, 2009 (Version 1.5.002)
Support showing failto

Last Updated: April 8, 2009 (Version 1.5.001)
Scott Stroz fixed an issue where the sender's email address would be displayed and linked incorrectly if the address was in the format of 'Sender name <sender address>'

Last Updated: October 13, 2008 (Version 1.5)
Lucas Sherwood added support for ReplyTo display.
Dharmesh Goal added support for editing/resending emails.

Last Updated: October 31, 2007 (Version 1.4)
This update was done by Mek Logan. I've pasted his changes below. I 
can personally attest to his speed improvements. They are awesome!

Here's a summary of the changes:
top.cfm -- changed one line to pass flag so body is not parsed for each file in the email list (since body is not used in that anyhow).
udf.cfm
Changed caching scheme -- rather than always cache message metadata plus body, only caches metadata.  This is particularly important for large numbers of massive emails (which has actually crashed CF for us), but also significantly improves startup performance and email listing speed for all uses.  It does slow down (slightly) actually reading an email, but in our case at least, we'll typically scroll through many emails to find the one we want to read, so this is an easy tradeoff.
Switched body parsing code to use StringBuffers for concatenation (might be worth doing this to the ActivateURL UDF as well).  The increased speed from this more than makes up for any slowdown due to the above change.
Rearranged file so getMail(), the primary function, is on top, with helper UDF's below.  Easy to undo if you prefer the previous order (just move the CFScript block at the bottom up to the top).
Assorted small tweaks (use of arguments scope, code cleanup).

Last Updated: October 31, 2007 (Version 1.3.2)
Fixed a dupe body in bottom.cfm

Last Updated: October 31, 2007 (Version 1.3.1)
Removed some CF8 only syntax.

Last Updated: October 30, 2007 (Version 1.3)
Sam Farmer made the following updates to udf.cfm and bottom.cfm:

Sam: One issue I ran into is that we send out multipart emails and these where showing up as html.  Which was fine but not ideal.  Anyhoo, I added some code to make it work with multipart emails:

- Added some code to the getMail function in udf.cfm to parse the body into plain and text.
- Added some code at the bottom of bottom.cfm 

Last Updated: June 29, 2007 (Version 1.2)
Somehow udf.cfm/getMail had the cache turned off. This greatly slowed down performance. I fixed
that and disabled output as well.

I moved the cfsetting in Application.cfm.

Last Updated: June 20, 2007 (Version 1.1)
Andrew Penhorwood added quite a bit of code. First off is a set of icons.
Second - he made it possible to change the 'per page' setting.
He also did some other changes - I've commented them out for now as they aren't working well for me on the Mac, but
they may come in later. I'm mainly warning folks here in case they wonder about the extra code.

Support for attachments. You can now see attachments in email. NOTE - I've disabled the downloading of attachments
from spoolmail as it may be a security issue. To turn it on, set allowdownload to true in Application.cfm

Last Updated: December 8, 2006 (Version 1.06)
Just a HTML fix in top.cfm 

Last Updated: December 8, 2006 (Version 1.05)
Don't do activateURL on html emails.

Last Updated: December 7, 2006 (Version 1.04)
Copy all the files over your existing install.
Added support for paging.
Support for HTML versus text emails.
General UI changes here and there.
Show size of emails.

Last Updated: July 13, 2006 (Version 1.03)
Peter F suggested a Refresh button show up if no mail exists. 
Todd Sharp sent two change. First I forgot to check for the existence of form.doit. 
Secondly, he added some JS code such that when you clicked a button, the bottom frame went back to blank.

Last Updated: July 7, 2006 (Version 1.02)
top.cfm - Added a Refresh button
udf.cfm - Get CC and BCC for emails if it has them
bottom.cfm - show CC/BCC if they exist.

Last Updated: January 27, 2006 (Version 1.01)
top.cfm modded by Steve 'Cutter' Blades (no.junk at comcast.net) to add select all functionality

Last Updated: January 23, 2006
I'm calling it version 1 now. Because I can.
Application.cfm updated to use security (imagine that) and use a timeout.
top.cfm updated to handle 0 length files

Last Updated: January 20, 2006
Changed from application.cfc to cfm
Added new udf to udf.cfm
bottom.cfm modified to use activateURL
Something went wrong with that request. Please try again.