【问题标题】:coldfusion spooler not working冷熔假脱机不工作
【发布时间】: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


【解决方案1】:

这个问题似乎至少从 CF6.x 开始就存在,我们还没有找到永久的解决方案。重启邮件服务远非完美。

有些人发现从病毒扫描中排除 CF 邮件假脱机目录会有所帮助,其他人则说使用 CFMAIL 而不是使用 cfscript 发送电子邮件就可以了。

这是一个similar SO post,这是来自Adobe forums的一个

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-07-03
    • 1970-01-01
    • 1970-01-01
    • 2011-02-03
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多