2
你如何使用cfscript做以下操作?如何在CF9中使用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>
使用以下導致「功能關鍵字缺少函數聲明中」錯誤:
mail subject="Test Email" from="[email protected] to="[email protected]" server="localhost" {
mailpart file="#ExpandPath('readme.txt')#";
}