You don't have to remove email addresses from the DB. <CFMAIL> can use a query that discriminates recipients on some basis. If it's that you don't want other recipients to see other recipients' addresses, you could use the BCC attribute.
On Tue, Dec 30, 2008 at 1:30 PM, Chris Spencer <[email protected]> wrote: > On my development server, I'd like to filter all outgoing email and > replace the recipients with an arbitrary email address, in order to > prevent customers from being accidentally emailed. > > Obviously, this could be done by removing customer addresses from the > database, but I'd like to keep these intact for testing various > reports that require unique addresses for each customer. > > There doesn't seem to be any existing feature in Cfadmin for this. Any > thoughts on how I'd go about implementing this? One thought I had was > to create a script that would monitor CF's spool directory, and modify > any newly creating files, but I'm not sure how I'd guarantee the > script would see the files before CF. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-server/message.cfm/messageid:6714 Subscription: http://www.houseoffusion.com/groups/cf-server/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.10
