You would set up a scheduled task that calls code to check the
mailbox, loop over the list of emails doing whatever processing you
need to do and calling whatever database queries you need to call,
then respond to the mail using cfmail or whatever mail sending code
you prefer. You can set up the scheduled task in ColdFusion
Administrator.

-Mike Chabot

On Sat, Oct 15, 2011 at 12:08 PM, Les Irvin <les.cft...@gmail.com> wrote:
>
> I am familiar with those, but how could I use them to effectively
> create an immediate dynamic autoresponder? Wouldn't I have to set
> something up to initiate the polling of the mailbox?
>
> On Sat, Oct 15, 2011 at 1:42 AM, Mike Chabot <mcha...@gmail.com> wrote:
>>
>> Are you familiar with the cfpop and cfimap tags? These are probably
>> the easier route to a solution that using the event gateway feature. I
>> will assume you are already familiar with cfmail to send mail.
>>
>> -Mike Chabot
>>
>> On Sat, Oct 15, 2011 at 1:26 AM, Les Irvin <les.cft...@gmail.com> wrote:
>>>
>>> I want to be able to receive an email, immediately do a database hit
>>> to retrieve info, then auto-respond to the email (in real time) with
>>> some results of the db query.
>>>
>>> Possible?  I know basically nothing about gateways but perhaps therein
>>> lies my solution?  If anyone could point me in the right direction I
>>> would be very grateful.
>>>
>>> Thanks,
>>> Les
>>>
>>>
>>
>>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348191
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to