How do you do the following using cfscript?
<cfmail
from="[email protected]"
to="[email protected]"
subject="Attachments">
<cfmailparam name="Reply-To" value="[email protected]">
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="[email protected] to="[email protected]" server="localhost" {
mailpart file="#ExpandPath('readme.txt')#";
}