您如何使用 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>
使用以下导致“函数声明中缺少函数关键字”错误:
mail subject="Test Email" from="me@domain.com to="you@domain.com" server="localhost" {
mailpart file="#ExpandPath('readme.txt')#";
}