Hi, Im building a production app using CFSMTP 1. Data tagging
As part of the flow of logic I have a onMailTo where I determine whether the email is to be processed by my application, I then retrieve some further data from a system. What I would like to be able to do is mark the current email in some way so that when it actually gets passed to the onMailAccept that this data is passed with it. I can't see a way of doing this as the onMailTo just has access to the email address it doesn't provide a pointer back to the email. Request scope isn't available as I'm guessing each part of the process is a separate connection. Any ideas ? I thought of just not using the onMailTo and having all my logic in the onMailAccept, this avoids me running my logic twice, once for determining whether i want to receive the mail and once for doing what i then intend to do with it, however if i don't implement it in the onMailTo my server will be seen as an open relay. 2. SMTP banner Using the tool http://mxtoolbox.com/SuperTool.aspx and using the command smtp:mail1.messagepipes.com it tells me that the SMTP banner doesn't match the reverse DNS, though there seems no way of configuring that, ideally one of the cfsmtp config params would allow you to specify the domain name so you can counter this grumble ? 3. Scopes What global scopes if any are available to the application which is being triggered by CFSMTP i.e. the CFCS ? 4. Debugging. Should the Open BD debugger work when building CFSMTP services. The coolest function that is available is now the mailread and mailwrite functions as they allow you to create a test mail, serialise it and test fire it at your application while being able to see the execution in the browser, but I wondered whether I was missing something as I couldn't get the debugger to show me what was happening with a CFSMTP triggered request. 5. Error handling Currently it seems to me that once the email has been received and the corresponding Mail object created that this is the end of the other mail servers involvement, at what point in the process does the other mail server disconnect. The reason i'm asking is say for example i have a mail object which i process and later on in my application it errors, is there anyway of notifying the sending server ? Or is it too late by then, I have to serialise the mail and try again later ? Many thanks Alex -- official tag/function reference: http://openbd.org/manual/ mailing list - http://groups.google.com/group/openbd?hl=en
