I was just wondering the best way to call it - the <cfargument tags made me think that I would have to use <cfinvoke and <cfinvokeparam tags.
I now realise that I can just call it as usual with the parameters in the same order as the <cfargument tags. Thanks for the help. Giles Roadnight http://giles.roadnight.name -----Original Message----- From: Stephen Pope [mailto:[EMAIL PROTECTED] Sent: 11 November 2003 11:57 To: [EMAIL PROTECTED] Subject: RE: [ cf-dev ] cffunction / cfmail If the <CFFUNCTION> tag is on the same page (or included in the same page) then the function should work just like normal. Stephen -----Original Message----- From: Giles Roadnight [mailto:[EMAIL PROTECTED] Sent: 11 November 2003 11:55 To: [EMAIL PROTECTED] Subject: [ cf-dev ] cffunction / cfmail I am writing a function that sends multipart e-mails and haven't used functions for a little while so am a bit rusty. All of my other functions are written in cfscript i.e. function functionname(param1,param2). As this function uses cfmail I have had to do it as a cffunction (as I can't do <cfmail in a <cfscript right?) So my question is I have to use <cfinvoke to run this don't I? Does this mean I have to make it into a component? I just want to use my function - don't want to have to deal with components, methods, arguments collections and so on. Thanks Giles Roadnight http://giles.roadnight.name -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
