SMTP Event Gateway???
Does anyone know of an SMTP event gateway for ColdFusion>
What I'm looking for, is a way of implementing helpdesk type functionality, whereby any emails to a certain domain are handled by ColdFusion according to a set of rules (e.g. create new issue - add comment to an exiting issue etc.)
It struck me that it should be relatively straightforward to handle incoming SMTP transmissions using a ColdFusion Event Gateway (seeing as SMTP is a relatively simple text based prtocol...) - and I wondered if anyone had already done it - and if not - why not? (I'm presuming I must have overlooked something that would make it more complicated than I anticipate...)


Kevin
Much rather have push rather than pull...
How about an IMAP gateway? Would that work better then POP3?
Or could your email server somehow signal a CF gateway that mail is waiting?
How would you get the mail server to do that (that's a slightly tounge in cheek question - obviously it depends on the mail server) - it would mean that this couldn't be added as functionality to an app - but would rather be dependant on a specific mail server.
I don't see that POP vs IMAP makes any difference - you'd still need to download the contents of the email in order to process it...
CFPOP may be the best way of doing it - it would be nice though to get rid of the polling / latency / load that that produces...
I'm interested in hearing how other people who have dealt with this issue handled it.
I actually wanted to do something similar myself a while ago and had a quick look into it - IIRC there may be source for an SMTP gateway in one of the older (7) Advanced CFWACKs. Have a butchers on Safari.
Thanks for the heads up - I'll have a search through...
This would not be the case - its *merely* a matter of creating an SMTP interface for a particular application to work in conjunction with the existing http interface, using technology in which the hard part (i.e. all the network socket stuff) has already been implemented.
Points about email being mission critical and career changing, whilst true in themselves, are only relevant if the application was handling general mail.
The particular use case for this application dictates that it would be set up on a dedicated domain for email - not on a domain which would be receiving general business email.
Whilst a *better* solution for a specific installation may involve integrating with a specific mail server - this would add an additional dependency which would effectively turn this into a bespoke solution - ideally I'm looking at creating something which can be open sourced - and potentially added to any CF application...
I'm wondering whether you have done anything with your plan of integrating/developing some kind of a SMTP-event gateway. I'm currently looking into a similar functionality...Any great insights or even stuff you can share already?