Jas*_*son 3 email coldfusion cfmail coldfusion-8
我有一个cfmail发送给大约8人(动态).其中一个地址不正确,因此不会发送整个电子邮件.coldfusion管理员或cfmail标签中是否有任何设置可以更改,因此它将发送给7个正确的人,并且只有一个人失败.我正在使用CF8.
老套:
<cfloop query="mails">
<cftry>
<cfmail from="#from#" to="#to#">
<!--- ... --->
</cfmail>
<cfcatch>
<div>
Mail not sent. #cfcatch.detail#
</div>
</cfcatch>
</cftry>
</cfloop>
Run Code Online (Sandbox Code Playgroud)