Another low tech approach to this problem would be to use cfdirectory to
poll these directories directly.
<!--- All Mail --- >
<cfset mailDirectory = server.coldfusion.RootDir & "\Mail\"/>
<cfdirectory directory="#mailDirectory#" action="list" name="results"
recurse="yes" />
<cfdump var="#results#" />
<!--- Spool --- >
<cfset mailDirectory = server.coldfusion.RootDir & "\Mail\Spool"/>
<cfdirectory directory="#mailDirectory#" action="list" name="results"
recurse="yes" />
<cfdump var="#results#" />
<!--- Undelivr --- >
<cfset mailDirectory = server.coldfusion.RootDir & "\Mail\Undelivr"/>
<cfdirectory directory="#mailDirectory#" action="list" name="results"
recurse="yes" />
<cfdump var="#results#" />
Terrence Ryan
Senior Systems Programmer
Wharton Computing and Information Technology
E-mail: [EMAIL PROTECTED]
-----Original Message-----
From: D F [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 31, 2006 11:07 AM
To: CF-Talk
Subject: CF Mail - What info available...
Is there anything built into CF ( such as java classes ) OR otherwise...
that will tell me current status of CF's mailing feature.
For example...
to poll how many emails are in the CF Spool directory.
I've used the following before and found it useful for getting
information on CF's scheduled tasks..
<cfobject type="JAVA" action="Create" name="factory"
class="coldfusion.server.ServiceFactory">
Was wondering what else this or similar functionality was exposed.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
http://www.fusionauthority.com/quarterly
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251641
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4