duannima8347 2012-03-19 20:02
浏览 31
已采纳

PHP sendmail在ActiveCollab中停止处理

I am a developer in a shop that runs ActiveCollab as a project management tool. Activecollab sends out e-mail notifications when tickets are updated/completed/etc.

Right now, the page is "halted" until the e-mail is sent, which slows down our workflow as it takes 2-3 seconds on average to send out the mail. When trying to close several tickets at once (having a few tabs open), it gets really bad.

Is there any way to get the e-mails to be "queued up" or somehow otherwise set up the system so that the process isn't blocked while mail is sending? Please note that hacking the code isn't really an option... but i'm fine writing a "pass through" bash script. Also note that if a notification doesn't go out, it's not a big deal... I'm fine with losing one or two here and there if it speeds everything up.

  • 写回答

1条回答 默认 最新

  • duanjia4969 2012-03-28 22:35
    关注

    activeCollab 3 (currently in beta) introduces "in the background" mailing. When mailer is configured to send messages in the background instead of instantly (default), it will add it to the mailing queue. Messages from queue are sent to recipients when frequently scheduled tasks is triggered.

    More info on scheduled tasks is available here: Scheduled Tasks. Information on different mailing types will be provided when activeCollab 3 gets out of beta and we publish new Admin's Guide.

    UPDATE: Article has been updated a while ago, but I forgot to update this comment. Updated version of the article that covers outgoing email in activeCollab is available here:

    https://www.activecollab.com/docs/manuals/admin-version-3/configuration/outgoing-mail-setup

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 使用C#,asp.net读取Excel文件并保存到Oracle数据库
  • ¥15 C# datagridview 单元格显示进度及值
  • ¥15 thinkphp6配合social login单点登录问题
  • ¥15 HFSS 中的 H 场图与 MATLAB 中绘制的 B1 场 部分对应不上
  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配