@kevco , I tested this with both Lucee 5.x and 6.2, and it is not a regression — both versions take several seconds to execute when using a remote file with <cfmailparam>
To avoid this delay, you can use a local file instead of a remote URL, which results in much faster execution.
I’d be fetching the file with cfhttp and writing to a temp file, cfhttp is always going to be more efficient than using resource urls directly (as files), as it ends up doing mutiple http requests, you can see that in action by pointing it at a local cfml endpoint and logging out requests to that file
Mail files are spooled to disk and maybe respooled after a restart, at which point your ram file doesn’t exist and there’s no need to waste ram (ram files maybe be GC’ed if your server is running out of memory too)