Socket
Socket
Sign inDemoInstall

yapi-plugin-smtp

Package Overview
Dependencies
4
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    yapi-plugin-smtp

YApi SMTP登录插件


Version published
Weekly downloads
5
Maintainers
1
Created
Weekly downloads
 

Readme

Source

yapi-plugin-smtp

使用

# 进入yapi工程目录执行
yapi plugin --name yapi-plugin-smtp 

SMTP登录插件,配置方法如下:

第一步: 在生成的配置文件config.json中加入如下配置:

"plugins": [
  {
    "name": "smtp",
    "options": {
      "host": "mail.***.com",
      "port": 25
    }
  }
]

这里面的配置项含义如下:

  • host SMTP服务器
  • port SMTP服务器端口

第二步:在config.json目录下执行以下命令安装

yapi plugin --name yapi-plugin-smtp

第三步: 重启服务器

其他资料

  • 文档 https://bcklib.js.org
  • QQ群:13924029

Keywords

FAQs

Last updated on 27 Aug 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc