Coder Social home page Coder Social logo

ci-sendemail's Introduction

发送邮件通知插件

功能说明

调用蓝鲸ESB发送邮件

配置

插件上架时,需要配置蓝鲸ESB相关参数,路径:设置->私有配置

  • sendmail_whitelist : 配置允许发送的域名白名单,多个域名用;号分隔, 输入*或不配置本项表示全开放, 每个邮箱域名格式为 @xxx.yyy 例如 @gmail.com
  • bk_app_code: ESB appcode // 如bk_ci等已在蓝鲸内注册的app
  • bk_app_secret: ESB appsecret // 对应app的密钥
  • bk_host: ESB host // 当前环境蓝鲸域名
  • bk_username : ESB username // 蓝鲸内用户名,可为“admin”
  • sender: 邮件发送人 // 需在 开发者中心-API网关-通道管理-选择系统CMSI-搜索 发送邮件 配置相关信息。 smtpPwd: smtp用户对应授权码。(以QQ邮箱为例:设置-> 账户-> POP3/IMAP/SMTP/Exchange/CardDAV/CalDAV服务->生成授权码)

change log

v1.0.3

fix: 敏感信息修复 #27

v1.0.4

fix: 某些网络情况下会导致发送卡住 #30

v1.1.0

feat: 增加发送邮件域名白名单sendmail_whitelist #32

  • 增加sendmail_whitelist 私有配置,用于配置允许发送的域名白名单,多个用;号分隔,输入*表示全开放, 每个邮箱域名格式为 @xxx.yyy,例如@gmail.com

ci-sendemail's People

Contributors

irwinsun avatar dependabot[bot] avatar yetlau111 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.