>- see footer for list info -<
Hi,

I'm trying to set up and an Asynchronous Event Gateway, but Coldfusion isn't
processing anything I put in the CFC. It will log an intentional cfml error
but not a simple "hello world" message. It won't even send an email even
though no errors are logged. The CF Admin will correctly count the number of
it events it receives so I have no idea what's gone wrong.

If anyone can write a very simple demo that will e-mail "hello world" as an
asynchronous event then I will be extremely grateful. This is what I've done
but nothing happens.

test.cfm
<CFSET myStruct= StructNew()>
<CFSET myStruct.test="whatever">
<CFSET status = SendGatewayMessage("testEvent", myStruct)>

testEvent.cfc (registered in CF Admin)
<cfcomponent displayname="testEvent">
    <cffunction name="onIncomingMessage">
        <cfargument name="CFEvent" type="struct" required="yes">
        <cfmail [EMAIL PROTECTED] to="[EMAIL PROTECTED]" subject="gateway
test">This is a test</cfmail>
    </cffunction>
</cfcomponent>

Thanks,
Gary.
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to