使用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: 郵箱授權碼,不是郵箱密碼;設置方法可參考各個郵箱設置,我用的是騰訊企業郵箱,設置方法如下:
就這麼簡單