flowable 使用mailService發送郵件

使用flowable發送郵件服務,特別方便。使用方法如下:

1、mailTask屬性配置:

1、flowable 配置:

flowable:
  activity-font-name: \u5B8B\u4F53
  label-font-name: \u5B8B\u4F53
  annotation-font-name: \u5B8B\u4F53
  check-process-definitions: false
  mail:
    server:
      host: smtp.exmail.qq.com
      port: 587
      default-from: 改成發件人郵箱地址
      username: 發件人郵箱地址,如果和上面屬性設置不一致會出現501 mail from address must be same as authorization user
      password: 郵箱授權碼,不是郵箱密碼;設置方法可參考各個郵箱設置,我用的是騰訊企業郵箱,設置方法如下:

就這麼簡單

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章