hmmmm...
all the example code was removed from my previous email.
I'll try again.
cftalk1.cfm
---------------------------------------------------
<cfinvoke component="cftalk1" method="sendMail" emailid="Raymond"
returnVariable="r_return">
<cfdump var="#r_return#">
cftalk1.cfc
----------------------------------------------------
<CFCOMPONENT hint="Database Driven Email Processing">
�<CFFUNCTION name="sendMail" access="private" returntype="boolean" hint="Process
Emails">
��
<CFARGUMENT name="emailID" type="string" required="true" hint="ID of Email to send">���
<CFQUERY NAME="queryemail" DATASOURCE="exampleapps">
SELECT
*
FROM
tblEmployees
WHERE
FirstName = '#emailID#'
</CFQUERY>
<cfmail to = "[EMAIL PROTECTED]"
from = "[EMAIL PROTECTED]"
subject = "test">
test from cfc
#queryemail.LastName#
</cfmail>
��<cfset success = True>
��<CFRETURN success>
�</CFFUNCTION>
</CFCOMPONENT>
______________________________________________________________________
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
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists