Back to this: > this is the remote-client fold...
# lucee
a
Back to this:
this is the remote-client folder right? in
lucee-server.xml
there's
<remote-clients directory="{lucee-config}remote-client/"/>
I'm curious as to how the mail spool dir ended up with the name
remote-client
. Instead of - maybe -
mail-spool
or something a bit more on-point? However within that dir there is a subdir
open
(eg:
/usr/local/lib/serverHome/WEB-INF/lucee-web/remote-client/open
) and it seems that's the actual spool dir: I see email objects being created in there, and undelivered emails persist there until I run the task in admin. Am I reading that right? NB: that I need to ask questions like this is perhaps indicative that better dir naming might be helpful here. Contrast with CF:
cfusion/Mail/Spool
and
cfusion/Mail/Undelivr
. Easy to tell what's what there.
f
not an actual answer to your question just my speculation. I think it is named that way because it is written using an abstraction that could be used for other queue / spool type functionality, I think some other stuff uses the abstraction besides just cfmail
maybe
spooler
would have been a better choice of name than
remote-client
a quick search of lucee code leads me to think that these are all using remote-client: https://github.com/lucee/Lucee/tree/541388c2d8b392b5d77fe6fbb766fa2fa104950c/core/src/main/java/lucee/runtime/spooler
1
a
Hrm.
a
Even if something else is using it "remote-client" makes as much sense as "bonobo-fingers" does, as a dir name.
💯 1
(presume there is a piece missing that actually rationalises why
remote-client
does make sense. Just not seeing it)