There are parts that I didn't post both for security and because its rather
standard. Getting the mail is a CFX_Pop2 operation and sending it is a
CFMAIL (modified) operation. Archives are just passing the info into a DB.
The cleaner I posted is the one that does the real work.
> Thanks! I thot you also had an app that archived each message.
> How is this done? Are you leaving them on the server and
> accessing them there?
>
> best, paul
>
>
> At 11:59 PM 2/13/01 -0500, you wrote:
> >http://www.houseoffusion.com/upload/cleanmail.txt
> >http://www.houseoffusion.com/upload/monitor.txt
> >The first is the template I use to take a message from the pop stream and
> >clean it as well as grab important data from it so I can keep message and
> >reference IDs. The second template is my monitor template that sends me
an
> >email on any error that happens on my site. Makes for really great
> >debugging. The 'joiner' template that actually retreives the messages and
> >sends them are not being posted. They're standard anyway (other than the
> >custom locking).
> >The custom locking is below:
> ><CFLOCK scope="SERVER" type="READONLY" timeout="10">
> > <CFIF Not IsDefined('Server.bLock')>
> > <CFSET Server.bLock=0>
> > <CFSET Server.dTime=TimeFormat(now())>
> > </CFIF>
> > <CFIF IsDefined('UnLock')>
> > <CFSET Server.bLock=0>
> > <CFSET Server.dTime=TimeFormat(now())>
> > </CFIF>
> > <CFIF Server.bLock AND DateDiff('n', Server.dTime, Now()) LT 10>
> > Locked<CFABORT>
> > <CFELSE>
> > <CFSET Server.bLock=1>
> > <CFSET Server.dTime=TimeFormat(now())>
> > </CFIF>
> ></CFLOCK>
> >
> >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists