Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
Bentley 中国优先社区
  • Welcome to Bentley Communities
  • Bentley's Communities
  • Bentley 中国优先社区
  • Cancel
Bentley 中国优先社区
技术资料库 Transmittal Server服务如何取消到期邮件提醒
    • Sign In
    Bentley 中国优先社区 requires membership for participation - click to join
    • -Bentley 中文技术资料库
      • +AutoPIPE
      • +Bentley Civil
      • +Bentley Navigator
      • +Bentley Substation
      • +BRCM
      • +BridgeMasterModeler/OpenBridgeModeler
      • +i-model / DgnDb
      • +LumenRT/ContextCapture
      • +MicroStation
      • +MOSES
      • +OpenBuildings Designer
      • +OpenFlows
      • +OpenPlant
      • +OpenPlant Electrical CCK
      • Plaxis 地质分析
      • -ProjectWise
        • 01 - ProjectWise简介
        • +02 - 服务器安装配置
        • +03 - ProjectWise远程办公指南
        • +04-ProjectWise Web China
        • +ProjectWise Caching Server_缓存服务器
        • +ProjectWise Distribution Services_分发服务
        • ProjectWise Essentials
        • ProjectWise Gateway Service_网关服务
        • ProjectWise InterPlot Server_打印服务器
        • ProjectWise Publishing Server_文档发布服务器
        • +ProjectWise Transmittal Services_传送服务
        • +ProjectWise Web服务
        • +ProjectWise Workflow Rules Engine
        • +ProjectWise 中国工具包
        • +ProjectWise 客户端
        • +ProjectWise 常见问题
        • +ProjectWise 新版本特性
        • +ProjectWise 用户同步服务
        • +ProjectWise 课程视频
        • +ProjectWise 集成服务器
        • +ProjectWise_CE_WorkSpace配置
        • +ProjectWise二次开发
        • ProjectWise成功案例
        • +ProjectWise打印
        • +ProjectWise本地化工作流程引擎插件
        • +Projectwise移动端应用
        • +ProjectWise管理员端
        • +ProjectWise自动化工具——PWPS_DAB
        • -Transmittal Services
          • Transmittal Server服务如何取消到期邮件提醒
          • transmittal安装
          • 发布tramsmittal后,邮箱报错。
          • 如何修改发件人的smtp配置
          • 如何给Transmittal Server有效的部署smtp邮件发送服务
        • 升级到ProjectWise CE
      • +ProStructures
      • +SACS
      • +STAAD.Pro
      • +SYNCHRO Pro
      • +其 它
      • +建筑设计之思考(赵大师专作)
      • +桥梁大师<BridgeMaster>
      • +现浇箱梁
      • +软件激活及授权
    • +iTwin 数字孪生平台
    • Bentley二次开发资料库
    • +常见问题汇总
    • Bentley-Learn 官方教学平台-使用方法
    • +中国优先社区使用指南
    • +Bentley学习资料库
    • +Bentley用户成功活动精选
    • +服务合作伙伴计划

     
     Questions about this article, topic, or product? Click here. 

    Transmittal Server服务如何取消到期邮件提醒

    Transmittal服务的邮件提醒功能非常强大,但在应用中发现一旦邮件提醒功能在一段时间出现问题,等提醒功能恢复后,以前尚未发出的邮件会集中发送。这个可以理解,但有时用户往往希望在出问题时间段的邮件不用发送了,该如何解决呢?

     

    答案是从数据库入手,邮件的发送会放在一个队列中,该队列本质上存于数据库表中,我们清空该表或设置某些记录的状态即可解决重复发送问题。

     

    trs_notification_subscribers表中的reminder_status为邮件的发送状态,当把reminder_status设为6则对应的邮件状态为“发送完成”从而不会再次发送。

     

    如果要修改某个时间段内的reminder_status则需要联合trs_notification_reminders表进行:

    DECLARE @thresholdDate DateTime

    SET @thresholdDate = '2016-09-01'

     

    UPDATE receivers

    SET

        receivers.reminder_status = 6 -- 6 means compleated

    FROM

        dbo.trs_notification_subscribers receivers

        INNER JOIN dbo.trs_notification_reminders reminders ON receivers.reminder_id = reminders.id

    WHERE

        (reminders.reminder_date <= @thresholdDate)

        AND

        (receivers.reminder_status <> 6)

    • ProjectWise Transmittal
    • Share
    • History
    • More
    • Cancel
    • lijun.ma Created by lijun.ma
    • When: Fri, Jul 29 2016 12:19 AM
    • Revisions: 1
    • Comments: 0
    • Sign in to reply
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies