How do you do the following using cfscript?
<cfmail
from="me@domain.com"
to="you@domain.com"
subject="Attachments">
<cfmailparam name="Reply-To" value="me@domain.com">
Some message goes here...
<cfmailparam file="c:\files\readme.txt">
<cfmailparam file="c:\files\logo.gif">
</cfmail>
Using the following causes a "function keyword is missing in FUNCTION declaration" error:
mail subject="Test Email" from="me@domain.com to="you@domain.com" server="localhost" {
mailpart file="#ExpandPath('readme.txt')#";
}