I think, in the end, the confusion is thus:
Up to and including CF8, there was only one way to send mail and that
was using the cfmail tag.
As of CF9, you can still use the cfmail tag, but you can also send
mail by using CreateObject("component", "mail") within cfscript. This
means that "mail" is a component, as you can see by the CreateObject
command and is thus rightly described as a CFC. It happens to be CFC
that is distributed with CF9, so I guess that's why they refer to it
as a System CFC.
cfmail has probably been rewritten as a wrapper around this new mail
component, but I could be wrong. Regardless, cfmail is still a tag.
You could not do CreateObject("component", "cfmail") and have it work.
So cfmail is a tag. mail is a system cfc. They both perform the same
functions and take the same arguments. The Service Browser would be
able to see mail but not see cfmail.
The same is true for the other service objects, http, ftp, query, etc.
A full list of service objects available in CF9 is here:
http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSe9cbe5cf462523a0693d5dae123bcd28f6d-8000.html
Hope that helps,
Judah
On Mon, Feb 8, 2010 at 5:06 PM, Dana <[email protected]> wrote:
>
> not to inject epistemology into this, but can an piece of software
> mislabel itself? I am asking.
>
> so would that make it not unlike an object which is an instance of a
> class in other languages? I am asking.
>
> I take it you cannot call cfmail with cfinvoke? Now I am really
> asking, as I dunno.
>
> On Mon, Feb 8, 2010 at 6:00 PM, Maureen <[email protected]> wrote:
>>
>> My take on this
>> 1. CFMAIL is a tag. It might have properties beyond a standard tag,
>> but it's still a tag, and works with tag syntax.
>> 2. Calling it from the script exposes it as a object not a component.
>> 3. Unless you can call it with cfinvoke, and have control over
>> parameters and return data type, calling it a component (cfc) is not
>> an accurate description, even if Abode is doing it
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http://www.houseoffusion.com/groups/cf-community/message.cfm/messageid:311880
Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5