It is still a file, even if it is only in memory, ColdFusion just added a new attribute to cfmailparam that uses the cfdocument content that is probably actually writing a binary file that attaches to the email.
I'll have to test it myself, but I'll bet that behind the scene CF/Java is writing that file somewhere, CF emails go to a mail spool first so is it writing to the spool with the file embedded?. I could be wrong, ACF has new tricks all the time-- But I wouldn't think that it would write a new file into memory each time you did this and then keep it in memory until it was sent, it just sounds too fragile and unreliable. If this is critical data, I would do some testing first to make sure you are not creating files somewhere you don't want them, and also test a failure somehow to see what happens in worst case situations.. A file is still a file in memory, it is still a file no matter where it resides. addn: Ben Nadels' website never ceases to amaze and amuse me.. his coding style really is what CFML is all about-- simple solutions to everyday problems that everyone can use understand. Ben rocks!. -- /Kevin Pepperman "They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety." - Benjamin Franklin -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
