December 11, 2003

SpoolEnable

One of the new features with CFMX is the <cfmail> spoolenable attribute.

What does it do? Well, previously to CFMX one could save a file, mail the file as an attachment, and then delete the file, without any issues in the same page.

With CFMX, the message is created, placed in a queue, and then processed after the page processing is completed. So with the above example, one has deleted the attachment before sending it. SpoolEnable is an optional attribute with a default value of yes, meaning to queue mailing until after the page has processed.

So if you have the above logic on one page, it is advisable to set the cfmail attribute spoolenable="no".

Posted by Elyse at December 11, 2003 7:30 PM | TrackBack
Comments
Post a comment









Remember personal info?