Hi Alan, Should i raise the hook one as a request ?
For the spool stuff is there a function I can call from an open bd instance that will give me the directory location of its work directory, So that I can determine the filesystem path and just use cfdirectory ? Many thanks Alex On Mar 2, 7:00 am, "Alan Williamson (aw2.0 cloud experts)" <[email protected]> wrote: > AlexS wrote: > > Got a few questions around Email and Open BD > > > 1. Are there any Open BD admin functions for interacting with the > > OpenBD Mail queue ? > > -->If there was id love to use these to write a mail manager in the > > OpenBD admin, its something that always frustrated me about > > ColdFusion. > > In short no; it is very much like the "sendmail" world; it is all > directory based. The state of the various spool/failed directory will > give you a window into that world. > > > 2. Is there a way of extending the Mail setup of open bd so that you > > could either specify a hook to be called onSendMail or onFailedMail of > > email, that CFC implemented could do stuff with what it learnt. > > now that is indeed a very cool idea ... i like that. Now you have to > remember, that even if that was called, we can't guarantee it was > delivered; all it means it was successfully/failed to the upstream MTA > agent. > > But i do like that hook. I am thinking you could add that to the > <CFMAIL callbackcfc="mycfc"> and override the methods accordingly. mmmmm > like that. > > > 4. Can anyone clarify how often OpenBD looks at the spool folder if i > > copy mail from undelivered back into spool I think I actually have to > > send another email before it will pick them up ? Is there a way > > through the API of triggering it to pickup mail instantly. > > No it will look at the folder again periodically -- granted sending > another email will short cut that timer. -- official tag/function reference: http://openbd.org/manual/ mailing list - http://groups.google.com/group/openbd?hl=en
