【发布时间】:2013-03-11 17:23:11
【问题描述】:
每次我使用此代码发送电子邮件时,都会有一个coldfusion邮件假脱机程序锁定我:
<cfmail TO="xxxx@gmail.com"
FROM="xxxx@xxxxxx.com"
SUBJECT="Your Order!!!!!" type="html">
hello
</cfmail>
只有停止 IIS 并启动 IIS,才能让这个东西从假脱机程序中通过电子邮件发送出去。 然后它冲过去。
如果我使用
<cfmail TO="xxxx@gmail.com"
FROM="xxxx@xxxxxx.com"
SUBJECT="Your Order!!!!!" spoolEnable="false" type="html">
hello
</cfmail>
然后电子邮件直接通过没问题,我想使用后台处理程序,因为它对用户的延迟更少。
我的coldfusion spooler怎么了?? 我正在运行 9,0,0,251028(标准)
顺便说一句:我尝试过(没有运气):
<cfset sFactory = CreateObject("java","coldfusion.server.ServiceFactory")>
<cfset MailSpoolService = sFactory.mailSpoolService>
<cfset MailSpoolService.stop()>
<cfset MailSpoolService.start()>
【问题讨论】:
-
你的两个代码示例是相同的,为什么你没有修补到901?
-
抱歉,我修复了代码示例。我很快就会更新,忙于其他许多火灾。
-
你需要先做一些基本的调试,比如检查the mail logs和/或enable debugging ie
debug=true。 -
我收到(在coldfusion-out.log中)03/22 10:27:13信息[scheduler-4] - 邮件:'Hello' From:'xxx@xxxxxxx.com' To: 'xxxx@gmail.com' 已使用 192.0.0.250 成功发送
-
我的 mail.log 中有很多这些 - 下一个邮件假脱机运行在 15 秒内。
标签: coldfusion cfmail spooler