CFML Quick Reference
17
(Optional) Mail message body and/or cfhttpparam tags
</cfmail>
cfmailparam
<cfmail
to = "recipient"
subject = "msg_subject"
from = "sender"
...more attributes... >
<cfmailparam
file = "file-name"
type ="media type"
contentID = "content ID"
disposition = "disposition type">
OR
<cfmailparam
name = "header-name"
value = "header-value" >
...
</cfmail>
cfmailpart
<cfmail
... >
(Optional cfmailparam entries)
<cfmailpart
type="mime type"
charset="character encoding"
wraptext="number"
>
Mail part contents
</cfmailpart>
...
</cfmail>
cfmodule
<cfmodule
template = "path"
name = "tag_name"
attributeCollection = "collection_structure"
attribute_name1 = "valuea"
attribute_name2 = "valueb"
...>
cfNTauthenticate
<cfNTauthenticate
username="username"
password="password"
domain="nt_domain"
result="result variable"
listGroups = "yes" or "no"
throwOnError = "yes" or "no">
cfobject
cfobject: COM object
<cfobject
type = "com"
action = "action"
class = "program_ID"
name = "text"
context = "context"
server = "server_name">
cfobject: component object
<cfobject
name = "variable name"
component = "component name">
cfobject: CORBA object
<cfobject
type = "corba"
context = "context"
class = "file or naming service"
name = "text"
locale = "type-value arguments">
cfobject: Java or EJB object
<cfobject
type = "Java"
action = "Create"
class = "Java class"
name = "object name">