Aaah
I understand now :)

ignite.site.shared.cfc.sendmail

On 22/7/03 14:49, "Raymond Camden" <[EMAIL PROTECTED]> wrote:

> Yes, but what _is_ the path. I believe there is a bug where if the path
> contains one of the Java keywords, the CFC won't work correctly.
> 
> ========================================================================
> ===
> Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
> (www.mindseye.com)
> Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)
> 
> Email    : [EMAIL PROTECTED]
> Blog     : www.camdenfamily.com/morpheus/blog
> Yahoo IM : morpheus
> 
> "My ally is the Force, and a powerful ally it is." - Yoda
> 
>> -----Original Message-----
>> From: Ryan Mitchell [mailto:[EMAIL PROTECTED]
>> Sent: Tuesday, July 22, 2003 7:49 AM
>> To: CF-Talk
>> Subject: Re: Cfc troubles...
>> 
>> 
>> The path is right, cos I don�t get an error saying it cant
>> find it :) Weird, must just be my dev box... Will try it
>> elsewhere... Thanks!
>> 
>> On 22/7/03 14:38, "Raymond Camden" <[EMAIL PROTECTED]> wrote:
>> 
>>> I'm not seeing this when I duplicate your code. One thing though -
>>> what is the path to sendmail?
>>> 
>>> 
>> ======================================================================
>>> ==
>>> ===
>>> Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
>>> (www.mindseye.com)
>>> Member of Team Macromedia
>> (http://www.macromedia.com/go/teammacromedia)
>>> 
>>> Email    : [EMAIL PROTECTED]
>>> Blog     : www.camdenfamily.com/morpheus/blog
>>> Yahoo IM : morpheus
>>> 
>>> "My ally is the Force, and a powerful ally it is." - Yoda
>>> 
>>>> -----Original Message-----
>>>> From: Ryan Mitchell [mailto:[EMAIL PROTECTED]
>>>> Sent: Tuesday, July 22, 2003 7:30 AM
>>>> To: CF-Talk
>>>> Subject: Cfc troubles...
>>>> 
>>>> 
>>>> Hello all
>>>> 
>>>> Im using a cfc for the first time... And guess what - its
>> not working 
>>>> :)
>>>> 
>>>> So this is a v simple mail cfc, designed so that I can
>> change how the 
>>>> mail is sent later down the line and not have to change lots of
>>>> cfmail tags...
>>>> 
>>>> Im calling it as follows:
>>>> 
>>>>         <cfinvoke method="sendMail" component="path.to.sendmail">
>>>>             <cfinvokeargument name="to"
>> value="[EMAIL PROTECTED]">
>>>>             <cfinvokeargument name="from"
>> value="[EMAIL PROTECTED]">
>>>>             <cfinvokeargument name="subject" value="Subject">
>>>>             <cfinvokeargument name="body" value="body text here">
>>>>         </cfinvoke>
>>>> 
>>>> But get the following error:
>>>> 
>>>> Unable to complete CFML to Java translation.
>>>> 
>>>> Error information unsupported statement: class
>>>> coldfusion.compiler.ASTfunctionDefinition
>>>> 
>>>> And it highlights the line
>>>> <cfinvokeargument name="body" value="body text here">
>>>> 
>>>> The cfc itself starts like this:
>>>> 
>>>> <cfcomponent hint="send mail container" displayname="sendmail">
>>>> 
>>>>     <cffunction name="sendMail" access="public">
>>>>     
>>>>         <!--- defined required arguments --->
>>>>         <cfargument name="from" type="string" required="false">
>>>>         <cfargument name="to" type="string" required="true">
>>>>         <cfargument name="subject" type="string" required="true">
>>>>         <cfargument name="body" type="string" required="true">
>>>> 
>>>>         <!--- process stuff here --->
>>>> 
>>>> And so on...
>>>> 
>>>> Anyone know the problem??
>>>> 
>>>> Ryan
>>>> 
>>>> 
>>>> 
>>> 
>> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to