>- see footer for list info -<
I've just set this up and it works - I'll just copy your email address in on
the test....
then we can discuss what I have done differently :-)
On 3/11/06, Gary F <[EMAIL PROTECTED]> wrote:
>
> >- see footer for list info -<
> My code for the event and the trigger is...
>
> <!--- trigger.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>
>
> Whether I use cfmail or cflog it doesn't send an email or log the event.
> But
> if I type in some bad code it will log the error when the event is
> triggered.
>
> Michael - sure, I'll visit your blog right now! :-)
>
> Gary.
>
> On 3/11/06, Michael Traher <[EMAIL PROTECTED]> wrote:
> >
> > >- see footer for list info -<
> > Hi Gary, All I've done with events is to set up a googletalk bot
> following
> > the example code posted by Ben Forta (which I can't now find a link
> for).
> > Could you post your code here and maybe someone can help - maybe even
> me!
> > No beer tokens required just visit my blog and I'll be happy :-)
> >
> > On 3/11/06, Gary F <[EMAIL PROTECTED]> wrote:
> > >
> > > >- see footer for list info -<
> > > A week ago I asked for some help with Asynchronous Gateway Events but
> no
> > > one
> > > replied. I will send some beer tokens (via PayPal) if you can help
> > please.
> > >
> > > I've tried doing a very simple "hello world" event and it doesn't work
> > > despite the CF Administrator correctly counting each request. If
> someone
> > > can
> > > show me how to write "hello world" to an email or a log file as an
> > > asychronous event I'd be very grateful.
> > >
> > > I followed a tutorial on the web but it didn't work. I think I need
> > > something very basic to ensure it works.
> > >
> > > Thanks in advance,
> > > 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
> > > -<
> > >
> >
> >
> >
> > --
> > Mike T
> > Blog http://www.socialpoints.com/
> > _______________________________________________
> >
> > 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
> > -<
> >
> _______________________________________________
>
> 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
> -<
>
--
Mike T
Blog http://www.socialpoints.com/
_______________________________________________
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 -<